Description
Scramble generates API documentation for Laravel project. From 0.13.2 to before 0.13.22, 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. This vulnerability is fixed in 0.13.22.
Published: 2026-05-12
Score: 9.4 Critical
EPSS: 8.6% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Scramble tool generates API documentation for Laravel projects. From version 0.13.2 up to but including 0.13.21, if the public documentation endpoints are accessed and validation rules reference user-controlled input, the data supplied in the request may be evaluated as PHP code during documentation generation. This means that an attacker can cause arbitrary PHP code to execute in the application context, a classic code execution flaw identified as CWE‑94. The impact is the loss of all application confidentiality, integrity, and availability for affected deployments.

Affected Systems

The affected product is the Scramble library from dedoc, used to produce OpenAPI documentation for Laravel applications. All releases between 0.13.2 and 0.13.21, inclusive, are vulnerable. The vulnerability is triggered only when the documentation endpoints are exposed to the outside world; if the service is isolated, the threat is mitigated.

Risk and Exploitability

The CVSS score of 9.4 indicates a critical severity. The EPSS score of 8.605% indicates a high probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, yet the remote code execution potential warrants immediate attention. Based on the description, it is inferred that the attack vector is the public documentation endpoint accessed over HTTP or HTTPS, where an attacker can send a crafted request causing user input referenced in validation rules to be evaluated as PHP code. The absence of an official workaround means the only practical defense is to patch or mitigate the conditions that enable the exploit.

Generated by OpenCVE AI on June 4, 2026 at 15:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Scramble to version 0.13.22 or later.
  • If upgrading is not immediately possible, temporarily disable public access to documentation endpoints during use of older versions.
  • Remove or neutralize any user‑controlled references from validation rules that are evaluated during documentation generation.

Generated by OpenCVE AI on June 4, 2026 at 15:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4rm2-28vj-fj39 Scramble vulnerable to remote code execution via evaluation of user-controlled input in validation rules
History

Wed, 13 May 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 13 May 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Dedoc
Dedoc scramble
Vendors & Products Dedoc
Dedoc scramble

Tue, 12 May 2026 21:30:00 +0000

Type Values Removed Values Added
Description Scramble generates API documentation for Laravel project. From 0.13.2 to before 0.13.22, 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. This vulnerability is fixed in 0.13.22.
Title Scramble: Remote code execution via evaluation of user-controlled input in validation rules
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-13T14:53:20.142Z

Reserved: 2026-05-05T16:33:55.844Z

Link: CVE-2026-44262

cve-icon Vulnrichment

Updated: 2026-05-13T14:53:12.955Z

cve-icon NVD

Status : Deferred

Published: 2026-05-12T22:16:36.563

Modified: 2026-05-13T16:10:57.817

Link: CVE-2026-44262

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-04T15:15:16Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')