CVE Explorer
CVE-2026-12740
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-sit
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Plack-Middleware-OAuth","product":"Plack::Middleware::OAuth","programFiles":["lib/Plack/Middleware/OAuth/Handler/AccessTokenV2.pm","lib/Plack/Middleware/OAuth/Handler/RequestTokenV2.pm"],"repo":"https://github.com/c9s/Plack-Middleware-OAuth","vendor":"CORNELIUS","versions":[{"lessThanOrEqual":"0.10","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:268a3383eed6cd605f7d8ef64262f5e5df2c6782bf876b6bc3bc3a9c6f6abc0e · sha256:46bcd67c52aeac8d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:268a3383eed6cd605f7d8ef64262f5e5df2c6782bf876b6bc3bc3a9c6f6abc0e · sha256:46bcd67c52aeac8d… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-352","description":"CWE-352 Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:268a3383eed6cd605f7d8ef64262f5e5df2c6782bf876b6bc3bc3a9c6f6abc0e · sha256:46bcd67c52aeac8d… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/07/04/10"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:268a3383eed6cd605f7d8ef64262f5e5df2c6782bf876b6bc3bc3a9c6f6abc0e · sha256:46bcd67c52aeac8d… · /containers/adp/0/references/0
{"tags":["technical-description"],"url":"https://datatracker.ietf.org/doc/html/rfc6749#section-10.12"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:268a3383eed6cd605f7d8ef64262f5e5df2c6782bf876b6bc3bc3a9c6f6abc0e · sha256:46bcd67c52aeac8d… · /containers/cna/references/3
{"tags":["issue-tracking"],"url":"https://github.com/c9s/Plack-Middleware-OAuth/pull/13"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:268a3383eed6cd605f7d8ef64262f5e5df2c6782bf876b6bc3bc3a9c6f6abc0e · sha256:46bcd67c52aeac8d… · /containers/cna/references/1
{"tags":["issue-tracking"],"url":"https://rt.cpan.org/Ticket/Display.html?id=179874"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:268a3383eed6cd605f7d8ef64262f5e5df2c6782bf876b6bc3bc3a9c6f6abc0e · sha256:46bcd67c52aeac8d… · /containers/cna/references/0
{"tags":["patch"],"url":"https://security.metacpan.org/patches/P/Plack-Middleware-OAuth/0.10/CVE-2026-12740-r1.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:268a3383eed6cd605f7d8ef64262f5e5df2c6782bf876b6bc3bc3a9c6f6abc0e · sha256:46bcd67c52aeac8d… · /containers/cna/references/2
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.