Nextcloud security-advisories
Nextcloud: Authentication Bypass in ID4me handling via Missing JWT Signature Verification in User OIDC
Nextcloud is an open source content collaboration platform. From versions 0.3.0 to before 3.1.0, 5.0.0 to before 5.1.0, and 6.0.0 to before 6.4.0, a missing signature verification in User OIDC allowed a malicious ID4me authority to identify as any user. This issue has been patched in versions 3.1.0, 4.1.0, 5.1.0, 6.4.0 and 8.3.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.3.0, < 3.1.0
- >= 5.0.0, < 5.1.0
- >= 6.0.0, < 6.4.0
Fixed in 3.1.0, 5.1.0, 6.4.0
Mitigation
Upgrade security-advisories to 3.1.0 or 5.1.0 or 6.4.0 or later.
References
- Vendor advisory github.com/nextcloud/security-advisories/secur…
- Patch github.com/nextcloud/user_oidc/pull/1285
Timeline
Days relative to CVE publicationFirst public PoC 22 days after publication; not in CISA KEV. First PoC: cybertechajju/CVE-2026-45156-POC (created 23 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| cybertechajju/CVE-2026-45156-POC | 23 Jun 2026 +22 d | 2 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /ocs/v2.php/apps/user_oidc/api/v1/providers
- Key headers
Ocs-Apirequest: true- Ports
- 8080
- Seen in
- 1 repo: cybertechajju/CVE-2026-45156-POC
- Evidence
- cybertechajju/CVE-2026-45156-POC/nextcloud_id4me_poc.py:402
GET /status.php
- Ports
- 8080
- Seen in
- 1 repo: cybertechajju/CVE-2026-45156-POC
- Evidence
- cybertechajju/CVE-2026-45156-POC/nextcloud_id4me_poc.py:310
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/ocs/v2\.php/apps/user_oidc/api/v1/providers(?:[?#].*)?$
(?i)^/status\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-45156 nextcloud security-advisories exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ocs/v2.php/apps/user_oidc/api/v1/providers"; http.header; content:"Ocs-Apirequest: true"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-45156; classtype:web-application-attack; sid:9478582; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-45156 nextcloud security-advisories exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/status.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-45156; classtype:web-application-attack; sid:9460109; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: nextcloud security-advisories exploit attempt (CVE-2026-45156)
id: gg-pocmon-cve-2026-45156-9478582
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-45156. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-45156
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/ocs/v2.php/apps/user_oidc/api/v1/providers'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.45156
title: nextcloud security-advisories exploit attempt (CVE-2026-45156)
id: gg-pocmon-cve-2026-45156-9460109
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-45156. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-45156
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/status.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.45156