Decap CMS login CSRF bypass in OAuth state check
- Exploited
- No known exploitation
- Fix
- Fixed in decap-cms 3.19.0 · decap-cms-app 3.19.0 · decap-cms-lib-auth 3.5.0
- Who is exposed
- Not reported
Summary
Decap CMS releases before the fixed version have a login cross-site request forgery flaw in their OAuth state check, which a remote attacker can bypass without logging in by using a null nonce. An attacker can lure an editor to a crafted admin link so that saved content is written under the attacker's Git provider identity, but the editor has to open the link.
Written by a model
Original description
Decap CMS before 3.19.0 contains a login cross-site request forgery vulnerability in validateNonce() that allows remote unauthenticated attackers to bypass the OAuth state check using a null nonce. Attackers can lure editors to an admin link with an attacker access token and null state nonce, causing saved content to be written using the attacker's Git provider identity.
What to do
Upgrade to a fixed version: decap-cms 3.19.0 · decap-cms-app 3.19.0 · decap-cms-lib-auth 3.5.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-145159 (Decap CMS before 3.19.0 Login CSRF via OAuth Null State Nonce), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-145159 (entry last updated 2026-12-04):
Affected:
- npm package decap-cms: fixed in 3.19.0
- npm package decap-cms-app: fixed in 3.19.0
- npm package decap-cms-lib-auth: fixed in 3.5.0
Fixed versions: 3.19.0, 3.5.0.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-145159 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-145159 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/decaporg/decap-cms/security/advisories/GHSA-h6vp-4qr8-gvh5
- https://github.com/decaporg/decap-cms/commit/c4269e23a5189d9bca7a5fba31815bc297acab16
- https://github.com/decaporg/decap-cms/releases/tag/decap-cms%403.19.0
- https://github.com/decaporg/decap-cms/blob/decap-cms%403.18.0/packages/decap-cms-lib-auth/src/utils.js#L7-L12
- https://github.com/decaporg/decap-cms/blob/decap-cms%403.18.0/packages/decap-cms-lib-auth/src/implicit-oauth.js#L45-L69
- https://www.vulncheck.com/advisories/decap-cms-before-3.19.0-login-csrf-via-oauth-null-state-nonce
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-145159
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-145159"}.Affected versions
cve.now Index
- Exploitation0/40No signal
- Exposure7/25Reachable over the network without a login · Unknown: No advisory context yet
- Reach10/20Affects npm packages
- Severity5.3/10CVSS 5.3
- No patch0/5No signal
What would change the score
- Would score about 77 if added to CISA KEV
- Would score about 72 if CISA's SSVC rates exploitation active
- Would score about 37 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Evidence 8
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · decaporg/decap-cms · Advisory GHSA-h6vp-4qr8-gvh5 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-145159 |
| Record | NVD · CVE-2026-145159 |
| Other links 5 | |
| Patch | GitHub · decaporg/decap-cms · Commit c4269e23 |
| Repository | GitHub · decaporg/decap-cms · Release decap-cms@3.19.0 |
| Repository | GitHub · decaporg/decap-cms · packages/decap-cms-lib-auth/src/utils.js · L7-L12 |
| Repository | GitHub · decaporg/decap-cms · packages/decap-cms-lib-auth/src/implicit-oauth.js · L45-L69 |
| Link | vulncheck.com · advisories/decap-cms-before-3.19.0-login-csrf-via-oauth-null-state-nonce |
Questions about CVE-2026-145159
Is CVE-2026-145159 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-145159?
decap-cms (npm): before 3.19.0. decap-cms-app (npm): before 3.19.0. decap-cms-lib-auth (npm): before 3.5.0.
Source: cve.now feed data
How do I fix CVE-2026-145159?
Upgrade to a fixed version: decap-cms 3.19.0 · decap-cms-app 3.19.0 · decap-cms-lib-auth 3.5.0.
Source: cve.now feed data
Related
- CVE-2025-57520A Cross Site Scripting (XSS) vulnerability exists in Decap CMS thru 3.8.3.
- CVE-2026-92812Decap CMS < 3.11.0 Path Traversal via Sibling Directory Prefix Matching
- CVE-2026-144588turbo-graph 2.8.9 before 3.0.0 CSRF via /api/run Local API
- CVE-2026-137449CSRF in DivvyDrive Informatics' DivvyDrive
- CVE-2026-144234RabbitMQ Server 4.4.0 CSRF in Management API via text/plain Requests
- CVE-2026-60052CSRF in backend
No corrections so far. Something wrong on this page? Report an error.