Scramble CVE-2026-44262
CRITICALSeverity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Lifecycle Timeline
3DescriptionGitHub Advisory
Impact
A remote code execution (RCE) vulnerability affects versions 0.13.2 through 0.13.21. When documentation endpoints are publicly accessible and validation rules reference user-controlled input, request supplied data may be evaluated during documentation generation, leading to execution of arbitrary PHP code in the application context.
Patches
Fixed in version 0.13.22.
Workarounds
If upgrading is not immediately possible:
- Restrict access to documentation endpoints (
/docs/api,/docs/api.json) - Avoid using user-controlled variables inside validation rule expressions (e.g., values derived from request input)
- Disable documentation endpoints in production environments if not required
These measures significantly reduce or prevent exploitability.
Articles & Coverage 1
AnalysisAI
Remote code execution in Scramble API documentation generator versions 0.13.2 through 0.13.21 allows unauthenticated attackers to execute arbitrary PHP code when documentation endpoints are publicly accessible and validation rules reference user-controlled input. Fixed in version 0.13.22. The CVSS score of 9.4 (Critical) reflects the network-accessible, low-complexity attack requiring no authentication, though exploitation requires specific configuration where documentation endpoints remain enabled and validation rules incorporate request-supplied data. No active exploitation (CISA KEV) or public POC identified at time of analysis, but the GitHub security advisory provides full technical details enabling reproduction.
Technical ContextAI
Scramble is a PHP Composer package (pkg:composer/dedoc_scramble) that generates API documentation for Laravel applications. The vulnerability stems from CWE-94 (Improper Control of Generation of Code/Code Injection) during the documentation generation process. When Scramble evaluates validation rule expressions to produce API documentation schemas, it processes user-controlled input from HTTP requests without adequate sanitization. If validation rules reference variables derived from request parameters (common in dynamic validation scenarios), the documentation generator evaluates these expressions in the PHP runtime, creating a code injection vector. The issue exists in the rule expression evaluation logic, which was addressed in PR #1145 by adding support for $this in rule expressions and improving evaluation safety through sandboxing or input validation. This affects Laravel applications using Scramble with publicly accessible documentation endpoints at /docs/api and /docs/api.json.
RemediationAI
Upgrade to Scramble version 0.13.22 immediately, available at https://github.com/dedoc/scramble/releases/tag/v0.13.22. The fix implements improved rules evaluation safety and proper handling of $this references in validation expressions (PR #1145). If immediate upgrade is not feasible, apply compensating controls in order of effectiveness: (1) Disable documentation endpoints entirely in production by removing Scramble route registration or setting SCRAMBLE_ENABLED=false in environment configuration - this eliminates the attack surface but prevents API documentation access; (2) Restrict /docs/api and /docs/api.json endpoints to internal IP ranges or authenticated users via web server rules (nginx location blocks, Apache .htaccess) or Laravel middleware - maintains documentation availability for authorized users but adds authentication bypass risk if misconfigured; (3) Audit all validation rules to eliminate references to request-derived variables in rule expressions, replacing dynamic rules with static alternatives - labor-intensive and may break intended validation logic for complex APIs. The vendor advisory at https://github.com/dedoc/scramble/security/advisories/GHSA-4rm2-28vj-fj39 confirms version 0.13.22 as the definitive fix with no known bypasses.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-94 – Code Injection
View allSame technique Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
GHSA-4rm2-28vj-fj39