Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Critical · 10.0 Critical vulnerabilities CVE-2026-61826

Bazarr: Unauthenticated Plex OAuth API allows config tampering, integration takeover and SSRF

A critical vulnerability in Bazarr's Plex OAuth API namespace lets unauthenticated attackers tamper with configuration, hijack the Plex integration, and trigger server-side request forgery. Tracked as CVE-2026-61826, with a CVSS score of 10.

By PatchBriefing · ·

Produced automatically from official sources with the help of AI. How we work →

Synthesized by AI from 2 sources · updated 1 week ago

AI summary

A critical vulnerability has been identified in Bazarr, a companion application used alongside Sonarr and Radarr for subtitle management. The issue, tracked as CVE-2026-61826, stems from missing authentication on the application's Plex OAuth API endpoints, allowing any unauthenticated network caller to manipulate configuration, take over the Plex integration, and potentially trigger server-side request forgery. The vendor has released an update, identified as version 1.5.7, that addresses the core issue.

What happened

A set of API endpoints in Bazarr's `api_ns_plex` namespace, located in `bazarr/api/plex/oauth.py`, were found to omit the `@authenticate` decorator that normally enforces API key checks on Bazarr's API. No global authentication hook compensated for this gap, meaning these endpoints were reachable by anyone who could send requests to the Bazarr instance, without any API key, account, or PIN precondition. Affected endpoints include `POST /api/plex/oauth/logout` (clears stored credentials and disables the Plex integration), `POST /api/plex/apikey` (persists an attacker-chosen API key), `POST /api/plex/oauth/pin` and `GET /api/plex/oauth/pin/<pin_id>/check` (can bind an attacker-controlled Plex account's token to the instance), `POST /api/plex/select-server`, `POST /api/plex/oauth/servers`, `POST /api/plex/webhook/create`, `POST /api/plex/webhook/delete`, and `POST /api/plex/encrypt-apikey`, all of which allow unauthenticated calls to `write_config()`.

Technical cause

The root cause is a missing authentication check (CWE-352 relates to cross-site request forgery, which is the classification assigned to this issue) on a set of Resource handlers that should have required an API key like the rest of Bazarr's API surface. In addition, the PIN-based OAuth flow has a secondary weakness: `PlexPinCheck` skips state parameter validation entirely when `state_param` is absent, and when a mismatch does occur, it is only logged rather than used to halt execution. This means an attacker who completes a Plex OAuth PIN flow using their own Plex account can bind that account's token to the victim's Bazarr instance. Separately, attacker-controlled server URLs accepted through these endpoints can be used to craft outbound requests from the Bazarr server that carry the configured API key in the `X-Plex-Token` header, creating a server-side request forgery path combined with credential exposure.

Why it matters

This vulnerability allows a remote, unauthenticated attacker to fully disrupt or hijack the Plex integration of an affected Bazarr instance, persist arbitrary configuration changes, and potentially pivot into server-side request forgery against internal or external network resources, since the server will issue outbound requests carrying a live API token. No user interaction, credentials, or prior access are required, which places this firmly in the category of issues that can be exploited directly over the network against any exposed instance.

Who is affected

Any Bazarr deployment that exposes its API to untrusted networks and uses, or has configured, the Plex integration is potentially affected. Because the vulnerable endpoints require no authentication, exposure depends primarily on network reachability of the Bazarr instance rather than on configuration of API keys.

Affected versions

The fact package indicates the issue affects Bazarr prior to a beta build that introduced authentication on the affected namespace, with the vendor update identified as version 1.5.7. We do not have further detail on earlier affected version ranges beyond this starting point, and readers should treat any installation older than version 1.5.7 as potentially vulnerable.

Fixes and mitigation

The vendor update, version 1.5.7, adds authentication to the affected API endpoints, closing the anonymous API-mutation path described above. However, complete validation of the OAuth state parameter is not established as resolved in the available facts, and this remains a separate item that the project should review further. The fact package marks "fix_available" as false at the time of writing despite the described update; this is flagged as an inconsistency below and should not be relied upon for operational decisions without independent confirmation.

Recommended action

Administrators should update Bazarr to version 1.5.7 or later as soon as practical, and in the meantime restrict network access to the Bazarr API to trusted hosts only. Given the residual concern around OAuth state validation, administrators should also review and, where possible, re-establish Plex integration credentials after updating, and monitor for unexpected changes to Plex integration settings.

PatchBriefing score

10.0 / 10 · Critical

Official CVSS: 10.0

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

EPSS 0.0041 (27 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

Reported fixes

The vendor update, version 1.5.7, adds authentication to the affected API endpoints, closing the anonymous API-mutation path described above. However, complete validation of the OAuth state parameter is not established as resolved in the available facts, and this remains a separate item that the project should review further. The fact package marks "fix_available" as false at the time of writing despite the described update; this is flagged as an inconsistency below and should not be relied upon for operational decisions without independent confirmation.

How this was built

2 source records were collected, matched and used to prepare the report above.

  • NVD (NIST) database
  • CVE.org database
Unified report
Bazarr: Unauthenticated Plex OAuth API allows config tampering, integration takeover and SSRF
1 article · 2 sources cited
Revision history
  1. Published
  2. Generated
  3. Published
  4. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email