CVE Explorer
CVE-2026-28695
Craft is a content management system (CMS). There is an authenticated admin RCE in Craft CMS 5.8.21 via Server-Side Template Injection using the create() Twig function combined with a Symfony Process gadget chain. The create() Twig function exposes Craft::createObject(), which allows instantiation of arbitrary PHP classes with constructor arguments. Combined with the bundled symfony/process dependency, this enables RCE. This bypasses the fix implemented for CVE-2025-57811 (patched in 5.8.7). Thi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cms","vendor":"craftcms","versions":[{"status":"affected","version":">= 5.8.7, < 5.9.0-beta.1"},{"status":"affected","version":">= 4.0.0-RC1, < 4.17.0-beta.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4684b484e79572af3fdaabb458e0d39b9dd8ed70deb90dfd1ed098f3aa1ff2dd · sha256:b863abff2bb5bb58… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.5,"baseSeverity":"HIGH","privilegesRequired":"HIGH","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4684b484e79572af3fdaabb458e0d39b9dd8ed70deb90dfd1ed098f3aa1ff2dd · sha256:b863abff2bb5bb58… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-1336","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4684b484e79572af3fdaabb458e0d39b9dd8ed70deb90dfd1ed098f3aa1ff2dd · sha256:b863abff2bb5bb58… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/craftcms/cms/commit/e31e50849ad71638e11ea55fbd1ed90ae8f8f6e0","tags":["x_refsource_MISC"],"url":"https://github.com/craftcms/cms/commit/e31e50849ad71638e11ea55fbd1ed90ae8f8f6e0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4684b484e79572af3fdaabb458e0d39b9dd8ed70deb90dfd1ed098f3aa1ff2dd · sha256:b863abff2bb5bb58… · /containers/cna/references/1
{"name":"https://github.com/craftcms/cms/security/advisories/GHSA-94rc-cqvm-m4pw","tags":["x_refsource_CONFIRM"],"url":"https://github.com/craftcms/cms/security/advisories/GHSA-94rc-cqvm-m4pw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4684b484e79572af3fdaabb458e0d39b9dd8ed70deb90dfd1ed098f3aa1ff2dd · sha256:b863abff2bb5bb58… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.