Permission bypass via contradictory global flags
Published Jun 4, 2025 · Updated Jun 4, 2025
Incorrect authorization in Deno 1.41.3 through 2.1.12, 2.2.0 through 2.2.12, and 2.3.0 through 2.3.1 allows local users to bypass denied permissions. UnaryPermission::is_allow_all treated granted_global as sufficient without rejecting flag_denied_global or prompt_denied_global, so its fast path skipped the deny decision. Exploitation requires launching a script with contradictory global allow and deny flags; the script receives a permission that the deny flag should withhold.
Summary
What happened
Incorrect authorization in Deno 1.41.3 through 2.1.12, 2.2.0 through 2.2.12, and 2.3.0 through 2.3.1 allows local users to bypass denied permissions. UnaryPermission::is_allow_all treated granted_global as sufficient without rejecting flag_denied_global or prompt_denied_global, so its fast path skipped the deny decision. Exploitation requires launching a script with contradictory global allow and deny flags; the script receives a permission that the deny flag should withhold.
The record
- CVE
- CVE-2025-48888
- Published
- Jun 4, 2025
- Updated
- Jun 4, 2025
- Vendor
- Deno Land Inc.
- Product
- Deno
- Classifications
- CWE-863, T1059.007
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 4, 2025CVE publishedPublication date reported by the CVE source.
- Jun 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 1.41.3, < 2.1.13
- Affected versionversion=>= 2.2.0, < 2.2.13
- Affected versionversion=>= 2.3.0, < 2.3.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Contradictory global permission flags proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo