{"items":[{"id":"NVI-00006949","kind":"vulnerability","title":"Craft CMS: Authenticated leak of secret environment variables","revision":4,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-596p-6jv8-775v","CVE-2026-72782"],"plain_summary":"GitHub lists this reviewed advisory for craftcms/cms, craftcms/cms. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","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-a940581eaaf4034073b8cfcdad96f9fb"],"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},{"summary":"The original advisory lists fixed boundaries 5.10.6 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.18.2 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"action_type":"vendor_patch","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":[{"kind":"CVSS","as_of":"2026-10-24T15:10:00.190Z","value":"6.5 MEDIUM (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-ba81bfcd1321e5be7913c988becec5c2"},{"kind":"CVSS","as_of":"2026-10-24T15:10:00.190Z","value":"7.1 HIGH (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-ba81bfcd1321e5be7913c988becec5c2"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.386%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.32657. Missing scores are unknown.","source_id":"sr-a940581eaaf4034073b8cfcdad96f9fb"}],"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-5d3c3e63b349dfeff2ab52ae62d8a972","url":"https://github.com/advisories/GHSA-596p-6jv8-775v","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-596p-6jv8-775v","publisher":"GitHub Advisory Database","observed_at":"2026-11-02T02:21:50.763Z"},{"id":"sr-c898351c65a82bb8fc7e5cffb43178c2","url":"https://github.com/advisories/GHSA-596p-6jv8-775v","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-596p-6jv8-775v","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.680Z"},{"id":"sr-ba81bfcd1321e5be7913c988becec5c2","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72782","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-72782","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:49.802Z"},{"id":"sr-a940581eaaf4034073b8cfcdad96f9fb","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-72782","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.384Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5d3c3e63b349dfeff2ab52ae62d8a972"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":[">= 5.0.0-RC1, < 5.10.6"]},{"certainty":"source_listed","source_ids":["sr-5d3c3e63b349dfeff2ab52ae62d8a972"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":[">= 4.0.0-RC1, < 4.18.2"]},{"certainty":"source_listed","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":["ECOSYSTEM: introduced 5.0.0-RC1; fixed 5.10.6"]},{"certainty":"source_listed","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":["ECOSYSTEM: introduced 4.0.0-RC1; fixed 4.18.2"]}],"null_published_at":"2026-11-06T15:18:17.699Z","source_updated_at":"2026-09-01T21:06:54.000Z","source_disclosed_at":"2026-08-06T21:53:31.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:49.680Z"},{"id":"NVI-00006949","kind":"vulnerability","title":"Craft CMS: Authenticated leak of secret environment variables","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-596p-6jv8-775v","CVE-2026-72782"],"plain_summary":"GitHub lists this reviewed advisory for craftcms/cms, craftcms/cms. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","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-a940581eaaf4034073b8cfcdad96f9fb"],"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},{"summary":"The original advisory lists fixed boundaries 5.10.6 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.18.2 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"action_type":"vendor_patch","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":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.386%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.32657. Missing scores are unknown.","source_id":"sr-a940581eaaf4034073b8cfcdad96f9fb"}],"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-5d3c3e63b349dfeff2ab52ae62d8a972","url":"https://github.com/advisories/GHSA-596p-6jv8-775v","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-596p-6jv8-775v","publisher":"GitHub Advisory Database","observed_at":"2026-11-02T02:21:50.763Z"},{"id":"sr-c898351c65a82bb8fc7e5cffb43178c2","url":"https://github.com/advisories/GHSA-596p-6jv8-775v","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-596p-6jv8-775v","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.680Z"},{"id":"sr-a940581eaaf4034073b8cfcdad96f9fb","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-72782","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.384Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5d3c3e63b349dfeff2ab52ae62d8a972"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":[">= 5.0.0-RC1, < 5.10.6"]},{"certainty":"source_listed","source_ids":["sr-5d3c3e63b349dfeff2ab52ae62d8a972"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":[">= 4.0.0-RC1, < 4.18.2"]},{"certainty":"source_listed","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":["ECOSYSTEM: introduced 5.0.0-RC1; fixed 5.10.6"]},{"certainty":"source_listed","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":["ECOSYSTEM: introduced 4.0.0-RC1; fixed 4.18.2"]}],"null_published_at":"2026-11-05T03:52:54.754Z","source_updated_at":"2026-09-01T21:06:54.000Z","source_disclosed_at":"2026-08-06T21:53:31.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:41:49.680Z"},{"id":"NVI-00006949","kind":"vulnerability","title":"Craft CMS: Authenticated leak of secret environment variables","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-596p-6jv8-775v","CVE-2026-72782"],"plain_summary":"GitHub lists this reviewed advisory for craftcms/cms, craftcms/cms. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","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-5d3c3e63b349dfeff2ab52ae62d8a972"],"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},{"summary":"The original advisory lists fixed boundaries 5.10.6 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.18.2 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"action_type":"vendor_patch","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-5d3c3e63b349dfeff2ab52ae62d8a972","url":"https://github.com/advisories/GHSA-596p-6jv8-775v","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-596p-6jv8-775v","publisher":"GitHub Advisory Database","observed_at":"2026-11-02T02:21:50.763Z"},{"id":"sr-c898351c65a82bb8fc7e5cffb43178c2","url":"https://github.com/advisories/GHSA-596p-6jv8-775v","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-596p-6jv8-775v","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.680Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5d3c3e63b349dfeff2ab52ae62d8a972"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":[">= 5.0.0-RC1, < 5.10.6"]},{"certainty":"source_listed","source_ids":["sr-5d3c3e63b349dfeff2ab52ae62d8a972"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":[">= 4.0.0-RC1, < 4.18.2"]},{"certainty":"source_listed","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":["ECOSYSTEM: introduced 5.0.0-RC1; fixed 5.10.6"]},{"certainty":"source_listed","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":["ECOSYSTEM: introduced 4.0.0-RC1; fixed 4.18.2"]}],"null_published_at":"2026-11-03T10:03:26.571Z","source_updated_at":"2026-09-01T21:06:54.000Z","source_disclosed_at":"2026-08-06T21:53:31.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:49.680Z"},{"id":"NVI-00006949","kind":"vulnerability","title":"Craft CMS: Authenticated leak of secret environment variables","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-596p-6jv8-775v","CVE-2026-72782"],"plain_summary":"OSV carries this publisher advisory for craftcms/cms, 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":"The original advisory lists fixed boundaries 5.10.6 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.18.2 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"action_type":"vendor_patch","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-c898351c65a82bb8fc7e5cffb43178c2","url":"https://github.com/advisories/GHSA-596p-6jv8-775v","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-596p-6jv8-775v","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.680Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":["ECOSYSTEM: introduced 5.0.0-RC1; fixed 5.10.6"]},{"certainty":"source_listed","source_ids":["sr-c898351c65a82bb8fc7e5cffb43178c2"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"Environment variables and secrets are interpolated into a Twig template even when the Twig sandbox is enabled, allowing them to be leaked by an authenticated attacker.\n\nThe Craft vulnerability CVE-2026-31857 was only patched by applying sandboxed Twig templating. This theoretically protects Craft CMS against RCE attacks, provided the sandbox is enabled and secure, with no known bypasses.\n\nHowever, the same request parameter `elementId,` which allows for sandboxed Twig templates to be rendered, also includes functionality that interpolates referenced environment variables. If the parameter includes a string of the form `${ENV_VAR}` then the string is replaced with the environment variable or secret from a secrets file with that name.\n\nAfterward, the string is rendered as a Twig template. If the sandbox is disabled, Twig templates can already gain RCE or access environment variables using the getenv function. Sandboxed Twig templates should not have this access, but now do thanks to this additional environment-variable replacement behavior.\n\nThe template’s resulting value is not directly reflected in the respo","public_affected_ranges":["ECOSYSTEM: introduced 4.0.0-RC1; fixed 4.18.2"]}],"null_published_at":"2026-10-31T22:13:14.304Z","source_updated_at":"2026-09-01T21:15:06.924Z","source_disclosed_at":"2026-08-06T21:53:31.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:41:49.680Z"}],"next_cursor":null,"snapshot_revision":"42594"}