CVE-2026-72887Net::OAuth::Client versions before 0.32 for Perl allow the service provider to silently…
Net::OAuth::Client versions before 0.32 for Perl allow the service provider to silently downgrade OAuth 1.0a to OAuth 1.0 in get_request_token. Passing a callback to the constructor selects OAuth 1.0a. get_request_token then revokes that choice when the request token response omits oauth_callback_confirmed, with no exception, no warning and no option to require 1.0a. The access token request is built from the OAuth 1.0 message class, which has no verifier parameter, so oauth_verifier is dropped from the request even when get_access_token was passed one. oauth_verifier is the binding that OAuth 1.0a added between the authorization step and the token exchange. An application that asked for 1.0a and gets 1.0 is open to OAuth 1.0 session fixation, where an attacker obtains a request token, has the victim authorize it, and then completes the exchange themselves, linking the victim's provider account to a session the attacker controls. No attacker action sets up the downgrade: a provider that does not confirm the callback is enough.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72887 | |
| Ubuntu 26.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72887 | |
| Ubuntu 24.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72887 | |
| Ubuntu 22.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72887 | |
| Ubuntu 20.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72887 | |
| Ubuntu 18.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72887 | |
| Ubuntu 16.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72887 | |
| Debian 14 | libnet-oauth-perl | Fixed | 0.32-1 | DEBIAN-CVE-2026-72887 |
| Debian 13 | libnet-oauth-perl | Fix pending | DEBIAN-CVE-2026-72887 | |
| Debian 12 | libnet-oauth-perl | Fix pending | DEBIAN-CVE-2026-72887 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Net-OAuth: affected: before 0.32; fixed in
0.32
Solution: Upgrade to Net-OAuth 0.32 or later.
Vendor advisories:
- https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-jh72-4qq2-8j6g (vendor-advisory)
- https://metacpan.org/release/RRWO/Net-OAuth-0.32/changes (release-notes)
- https://github.com/vurtdev/Net-OAuth/commit/fd505dac1988723ed96721657663f2e4ac731644.patch (patch)
References
- https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-jh72-4qq2-8j6g
- https://metacpan.org/release/RRWO/Net-OAuth-0.32/changes
- https://github.com/vurtdev/Net-OAuth/commit/fd505dac1988723ed96721657663f2e4ac731644.patch
- https://datatracker.ietf.org/doc/html/rfc5849#section-2.1
- https://datatracker.ietf.org/doc/html/rfc5849#section-2.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.