Advisory

GHSA-4rm2-28vj-fj39

Also known as: CVE-2026-44262

Summary

Scramble vulnerable to remote code execution via evaluation of user-controlled input in validation rules

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-05-06 19:54 UTC
Modified
2026-05-13 16:57 UTC

Affected packages and fixes

dedoc/scramble

Packagist · All systems

Affected

  • introduced 0.13.2, fixed 0.13.22 (ecosystem)

Fixed versions

0.13.22

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences