{"items":[{"id":"NVI-00005733","kind":"vulnerability","title":"Duplicate Advisory: Craft CMS: Authenticated leak of secret environment variables","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"withdrawn","identifiers":["GHSA-cc2g-26rw-g997"],"plain_summary":"OSV carries this publisher advisory for craftcms/cms. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-9a5733c44bf0b8a6a026a2a843b3fc91"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-9a5733c44bf0b8a6a026a2a843b3fc91","url":"https://github.com/advisories/GHSA-cc2g-26rw-g997","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-cc2g-26rw-g997","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.698Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-9a5733c44bf0b8a6a026a2a843b3fc91"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-596p-6jv8-775v. This link is maintained to preserve external references.\n\n## Original Description\nCraft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 before 4.18.2 interpolate environment variables and secrets (via ${ENV_VAR} strings in the elementId parameter) into Twig templates before rendering, even when the Twig sandbox is enabled. An authenticated attacker with control panel access can render a malicious sandboxed Twig template and, using a blind error-based technique across many requests, incrementally leak arbitrary environment variables and secrets. These can be abused to forge sessions (via CRAFT_SECURITY_KEY), escalate privileges, and steal database, SMTP, API, or blob storage credentials. Fixed in 5.10.6 and 4.18.2.","public_affected_ranges":["ECOSYSTEM: introduced 4.0.0-RC1"]}],"null_published_at":"2026-10-31T22:13:05.836Z","source_updated_at":"2026-09-10T03:51:13.797Z","source_disclosed_at":"2026-08-11T15:32:39.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:10.698Z"}],"next_cursor":null,"snapshot_revision":"42594"}