{"items":[{"id":"NVI-00007288","kind":"vulnerability","title":"Craft CMS Vulnerable to Authenticated RCE via \"craft.app.fs.write()\" in Twig Templates","revision":3,"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-v47q-jxvr-p68x","CVE-2026-28697"],"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.9.0-beta.1 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-d62bee63a69ed37685641e2566473c1c"],"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.17.0-beta.1 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-d62bee63a69ed37685641e2566473c1c"],"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":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-08880e5374a60103bfb180032301cc39"],"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":[{"kind":"CVSS","as_of":"2026-06-17T10:28:55.610Z","value":"9.1 CRITICAL (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-082c3bf5c3554ded6e10c0a292756c6a"},{"kind":"CVSS","as_of":"2026-06-17T10:28:55.610Z","value":"9.4 CRITICAL (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-082c3bf5c3554ded6e10c0a292756c6a"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"1.188%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.67905. Missing scores are unknown.","source_id":"sr-08880e5374a60103bfb180032301cc39"}],"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-d62bee63a69ed37685641e2566473c1c","url":"https://github.com/advisories/GHSA-v47q-jxvr-p68x","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-v47q-jxvr-p68x","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.369Z"},{"id":"sr-082c3bf5c3554ded6e10c0a292756c6a","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28697","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-28697","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:56.268Z"},{"id":"sr-08880e5374a60103bfb180032301cc39","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-28697","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.376Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-d62bee63a69ed37685641e2566473c1c"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"## Summary\n\nAn authenticated administrator can achieve Remote Code Execution (RCE) by injecting a Server-Side Template Injection (SSTI) payload into Twig template fields (e.g., Email Templates). By calling the `craft.app.fs.write()` method, an attacker can write a malicious PHP script to a web-accessible directory and subsequently access it via the browser to execute arbitrary system commands.\n\n---\n## Proof of Concept\n\n### Attack Prerequisites\n\n- Authenticated administrator account with `allowAdminChanges` enabled, or access to the System Messages utility\n\n### Steps to Reproduce\n\n1. Navigate to **Utilities → System Messages** (`/admin/utilities/system-messages`)\n2. Edit any email template (e.g., \"Test Email\") and inject the following in the body (or the Subject):\n\t- To exploit it by writing to a file system:\n\t\t- **Note:** Replace the filesystem handle (e.g., `hardDisk`) with a valid handle configured in the target installation.\n\t\t```twig\n\t\t{{ craft.app.fs.getFilesystemByHandle('hardDisk').write('shell.php', '') }}\n\t\t```\n\t- To exploit it by writing to a volume:\n\t\t- **Note:** Replace the volume handle (e.g., `images`) with a vali","public_affected_ranges":["ECOSYSTEM: introduced 5.0.0-RC1; fixed 5.9.0-beta.1"]},{"certainty":"source_listed","source_ids":["sr-d62bee63a69ed37685641e2566473c1c"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"## Summary\n\nAn authenticated administrator can achieve Remote Code Execution (RCE) by injecting a Server-Side Template Injection (SSTI) payload into Twig template fields (e.g., Email Templates). By calling the `craft.app.fs.write()` method, an attacker can write a malicious PHP script to a web-accessible directory and subsequently access it via the browser to execute arbitrary system commands.\n\n---\n## Proof of Concept\n\n### Attack Prerequisites\n\n- Authenticated administrator account with `allowAdminChanges` enabled, or access to the System Messages utility\n\n### Steps to Reproduce\n\n1. Navigate to **Utilities → System Messages** (`/admin/utilities/system-messages`)\n2. Edit any email template (e.g., \"Test Email\") and inject the following in the body (or the Subject):\n\t- To exploit it by writing to a file system:\n\t\t- **Note:** Replace the filesystem handle (e.g., `hardDisk`) with a valid handle configured in the target installation.\n\t\t```twig\n\t\t{{ craft.app.fs.getFilesystemByHandle('hardDisk').write('shell.php', '') }}\n\t\t```\n\t- To exploit it by writing to a volume:\n\t\t- **Note:** Replace the volume handle (e.g., `images`) with a vali","public_affected_ranges":["ECOSYSTEM: introduced 4.0.0-RC1; fixed 4.17.0-beta.1"]}],"null_published_at":"2026-11-01T14:34:07.507Z","source_updated_at":"2026-03-04T18:48:45.543Z","source_disclosed_at":"2026-03-03T21:00:16.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:42:41.369Z"},{"id":"NVI-00007288","kind":"vulnerability","title":"Craft CMS Vulnerable to Authenticated RCE via \"craft.app.fs.write()\" in Twig Templates","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-v47q-jxvr-p68x","CVE-2026-28697"],"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.9.0-beta.1 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-d62bee63a69ed37685641e2566473c1c"],"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.17.0-beta.1 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-d62bee63a69ed37685641e2566473c1c"],"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":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-08880e5374a60103bfb180032301cc39"],"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":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"1.188%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.67905. Missing scores are unknown.","source_id":"sr-08880e5374a60103bfb180032301cc39"}],"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-d62bee63a69ed37685641e2566473c1c","url":"https://github.com/advisories/GHSA-v47q-jxvr-p68x","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-v47q-jxvr-p68x","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.369Z"},{"id":"sr-08880e5374a60103bfb180032301cc39","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-28697","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.376Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-d62bee63a69ed37685641e2566473c1c"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"## Summary\n\nAn authenticated administrator can achieve Remote Code Execution (RCE) by injecting a Server-Side Template Injection (SSTI) payload into Twig template fields (e.g., Email Templates). By calling the `craft.app.fs.write()` method, an attacker can write a malicious PHP script to a web-accessible directory and subsequently access it via the browser to execute arbitrary system commands.\n\n---\n## Proof of Concept\n\n### Attack Prerequisites\n\n- Authenticated administrator account with `allowAdminChanges` enabled, or access to the System Messages utility\n\n### Steps to Reproduce\n\n1. Navigate to **Utilities → System Messages** (`/admin/utilities/system-messages`)\n2. Edit any email template (e.g., \"Test Email\") and inject the following in the body (or the Subject):\n\t- To exploit it by writing to a file system:\n\t\t- **Note:** Replace the filesystem handle (e.g., `hardDisk`) with a valid handle configured in the target installation.\n\t\t```twig\n\t\t{{ craft.app.fs.getFilesystemByHandle('hardDisk').write('shell.php', '') }}\n\t\t```\n\t- To exploit it by writing to a volume:\n\t\t- **Note:** Replace the volume handle (e.g., `images`) with a vali","public_affected_ranges":["ECOSYSTEM: introduced 5.0.0-RC1; fixed 5.9.0-beta.1"]},{"certainty":"source_listed","source_ids":["sr-d62bee63a69ed37685641e2566473c1c"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"## Summary\n\nAn authenticated administrator can achieve Remote Code Execution (RCE) by injecting a Server-Side Template Injection (SSTI) payload into Twig template fields (e.g., Email Templates). By calling the `craft.app.fs.write()` method, an attacker can write a malicious PHP script to a web-accessible directory and subsequently access it via the browser to execute arbitrary system commands.\n\n---\n## Proof of Concept\n\n### Attack Prerequisites\n\n- Authenticated administrator account with `allowAdminChanges` enabled, or access to the System Messages utility\n\n### Steps to Reproduce\n\n1. Navigate to **Utilities → System Messages** (`/admin/utilities/system-messages`)\n2. Edit any email template (e.g., \"Test Email\") and inject the following in the body (or the Subject):\n\t- To exploit it by writing to a file system:\n\t\t- **Note:** Replace the filesystem handle (e.g., `hardDisk`) with a valid handle configured in the target installation.\n\t\t```twig\n\t\t{{ craft.app.fs.getFilesystemByHandle('hardDisk').write('shell.php', '') }}\n\t\t```\n\t- To exploit it by writing to a volume:\n\t\t- **Note:** Replace the volume handle (e.g., `images`) with a vali","public_affected_ranges":["ECOSYSTEM: introduced 4.0.0-RC1; fixed 4.17.0-beta.1"]}],"null_published_at":"2026-10-31T22:13:44.224Z","source_updated_at":"2026-03-04T18:48:45.543Z","source_disclosed_at":"2026-03-03T21:00:16.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:42:41.369Z"}],"next_cursor":null,"snapshot_revision":"40769"}