CVE-2026-12740
Last modified
CVE-2026-12740 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. Plack::Middleware::OAuth versions through 0.10 for Perl do not support the OAuth 2.0 state parameter. RequestTokenV2 builds the provider authorization redirect without issuing a state value, and AccessTokenV2 exchanges the callback code and registers the resulting token into the session (register_session) without verifying that the callback corresponds to an authorization request this session initiated. Any application that uses this middleware for OAuth 2.0 login is exposed to login cross-site request forgery: because the callback is not bound to the session that began the flow, an attacker who starts an authorization with their own provider account can deliver the resulting callback to a victim, causing the victim's session to complete the attacker's authorization and associating the attacker's provider identity and access token with that session. Where the application persists this as an account link, the attacker may retain access to the victim's account through their own provider credentials.. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
Plack::Middleware::OAuth versions through 0.10 for Perl do not support the OAuth 2.0 state parameter. RequestTokenV2 builds the provider authorization redirect without issuing a state value, and AccessTokenV2 exchanges the callback code and registers the resulting token into the session (register_session) without verifying that the callback corresponds to an authorization request this session initiated. Any application that uses this middleware for OAuth 2.0 login is exposed to login cross-site request forgery: because the callback is not bound to the session that began the flow, an attacker who starts an authorization with their own provider account can deliver the resulting callback to a victim, causing the victim's session to complete the attacker's authorization and associating the attacker's provider identity and access token with that session. Where the application persists this as an account link, the attacker may retain access to the victim's account through their own provider credentials.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| CORNELIUS | Plack::Middleware::OAuth | <= 0.10 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-12740?
How severe is CVE-2026-12740?
How do I fix CVE-2026-12740?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12732The LearnPress plugin for WordPress is vulnerable to Stored …6.4
- CVE-2026-12733IBM DataPower Gateway could allow a remote attacker to cause…7.5
- CVE-2026-12734The weDocs: AI Powered Knowledge Base, Docs, Documentation, …6.4
- CVE-2026-12736The Wpify Woo plugin for WordPress is vulnerable to Privileg…8
- CVE-2026-12738The WP Easy Pay – Payment and Donation form Builder for Squa…4.3
- CVE-2026-1274IBM Guardium Data Protection 12.0, 12.1, and 12.2 is vulnera…4.9
- CVE-2026-12741The WP Fast Total Search – The Power of Indexed Search plugi…7.5
- CVE-2026-12746Dancer2::Plugin::Auth::OAuth::Provider versions before 0.23 …8.1
- CVE-2026-1275The Multi Post Carousel by Category plugin for WordPress is …6.4
- CVE-2026-12753The Advance Product Search- Voice & Ajax Search for WooComme…7.5
- CVE-2026-12754The VikBooking Hotel Booking Engine & PMS plugin for WordPre…6.1
- CVE-2026-12755Improper input validation in the PAM AD discovery endpoints …2.7
Are you affected by CVE-2026-12740?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
