Skip to main content

Scramble CVE-2026-44262

CRITICAL
Code Injection (CWE-94)
2026-05-06 https://github.com/dedoc/scramble GHSA-4rm2-28vj-fj39
9.4
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
9.4 CRITICAL
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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

3
Source Code Evidence Fetched
May 06, 2026 - 20:31 vuln.today
Analysis Generated
May 06, 2026 - 20:31 vuln.today
CVE Published
May 06, 2026 - 19:54 nvd
CRITICAL 9.4

DescriptionGitHub 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.

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.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-44262 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy