cvelo
P3 · MediumCVSS 6.8

Coder from 2.38.0 before 2.38.4 Privilege Escalation via API Key Creation

  • CVE-2026-126404
  • GHSA-6r5h-82v7-hx9g
  • EUVD-2026-125161

Description

Coder 2.28.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 does not restrict new API keys to the creating token's scopes, allow list, or expiry. A scoped API key or OAuth2 token holding key-creation permission can call POST /api/v2/users/{user}/keys/tokens to mint longer-lived coder:all keys, gaining the user's full privileges.

Text from the CVE.org record.

Affected

  • coder

    • from 2.38.0 to before 2.38.4
    • 2.38.4: not affected
    • from 2.37.0 to before 2.37.8
    • 2.37.8: not affected
    • from 2.36.0 to before 2.36.11
    • 2.36.11: not affected
    • from 2.30.0 to before 2.34.16
    • 2.34.16: not affected
    • and 4 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.