CVE-2025-49825: Github.com/gravitational/teleport Authentication Bypass Vulnerability

CRITICAL
Advisory Identifier: GHSA-8cqv-pj7f-pwpc
CVSS 9.8
CWE-863
Published
Advisory Summary

CVE-2025-49825 is a CRITICAL (CVSS 9.8) authentication bypass vulnerability (CWE-863: Incorrect Authorization) affecting Github.com/gravitational/teleport libraries in the Go ecosystem. The issue involves teleport allows remote authentication bypass. Remediation is available by upgrading affected packages to version 17.5.2, 16.5.12, 15.5.3, 14.4.1, 13.4.27, 12.4.35.

CVE-2025-49825 at a Glance

CVE Identifier CVE-2025-49825
GHSA Identifier GHSA-8cqv-pj7f-pwpc
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-863: Incorrect Authorization
Affected Product Github.com/gravitational/teleport
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-49825

To remediate this vulnerability, upgrade all affected Github.com/gravitational/teleport dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/gravitational/teleport fixed: 17.5.2
Upgrade github.com/gravitational/teleport to 17.5.2
github.com/gravitational/teleport fixed: 16.5.12
Upgrade github.com/gravitational/teleport to 16.5.12
github.com/gravitational/teleport fixed: 15.5.3
Upgrade github.com/gravitational/teleport to 15.5.3
github.com/gravitational/teleport fixed: 14.4.1
Upgrade github.com/gravitational/teleport to 14.4.1
github.com/gravitational/teleport fixed: 13.4.27
Upgrade github.com/gravitational/teleport to 13.4.27
github.com/gravitational/teleport fixed: 12.4.35
Upgrade github.com/gravitational/teleport to 12.4.35
github.com/gravitational/teleport fixed: Latest secure release
Upgrade github.com/gravitational/teleport to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/gravitational/teleport

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-49825, inspect your project dependencies for Github.com/gravitational/teleport:

inspect dependencies for github.com/gravitational/teleport

Analyze the terminal output to locate any version of Github.com/gravitational/teleport in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 17.5.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Github.com/gravitational/teleport, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact A full technical disclosure and open-source patch will be published after the embargo period, ending on June 30th, to allow all users to upgrade. Teleport security engineers identified a critical security vulnerability that could allow remote authentication bypass of Teleport. Teleport Cloud Infrastructure and CI/CD build, test, and release infrastructure aren’t affected. For the full mitigation, upgrade both Proxy and Teleport agents. It is strongly recommend updating clients to the released patch versions as a precaution. Have questions? - OSS Community: [opensource@goteleport.com](mailto:opensource@goteleport.com) - Legal: [legal@goteleport.com](mailto:legal@goteleport.com) - Security: [security@goteleport.com](mailto:security@goteleport.com) - Customer Support: [goteleport.com/support](https://goteleport.com/support) - Media Inquiries: [teleport@babelpr.com](mailto:teleport@babelpr.com) ### Patches Fixed in versions: 17.5.2, 16.5.12, 15.5.3, 14.4.1, 13.4.27, 12.4.35. These patches are available only on the [official Teleport distribution channels](https://goteleport.com/docs/installation/). These versions are designated as _Critical Security Exception Versions_. _For these specific patch versions of Teleport Community Edition, the Community Edition restrictions are removed on employee count or revenue thresholds, as long as you apply the patch within thirty (30) days of its official release._ _Please read the full text of the updated Teleport Community Edition license for details._

CVE-2025-49825 Affected Github.com/gravitational/teleport Versions

7 component(s)
Fixed Versions:
17.5.216.5.1215.5.314.4.113.4.2712.4.35
Product / Package Ecosystem Affected Versions Fixed Version
github.com/gravitational/teleport
Go
≥ 17.0.0
< 17.5.2
17.5.2
github.com/gravitational/teleport
Go
≥ 16.0.0
< 16.5.12
16.5.12
github.com/gravitational/teleport
Go
≥ 15.0.0
< 15.5.3
15.5.3
github.com/gravitational/teleport
Go
≥ 14.0.0
< 14.4.1
14.4.1
github.com/gravitational/teleport
Go
≥ 13.0.0
< 13.4.27
13.4.27
github.com/gravitational/teleport
Go
≥ 0.0.11
< 12.4.35
12.4.35
github.com/gravitational/teleport
Go
≤ 0.0.0-20250616162021-79b2f26125a1

References

Frequently Asked Questions

What is CVE-2025-49825?
CVE-2025-49825 is a security vulnerability in Github.com/gravitational/teleport involving Teleport allows remote authentication bypass under CWE-863: Incorrect Authorization.
Which Github.com/gravitational/teleport versions are affected?
Affected versions include releases prior to 17.5.2, 16.5.12, 15.5.3, 14.4.1, 13.4.27, 12.4.35 across affected packages: github.com/gravitational/teleport.
What version fixes CVE-2025-49825?
Upgrading to 17.5.2, 16.5.12, 15.5.3, 14.4.1, 13.4.27, 12.4.35 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/gravitational/teleport affected?
Yes, github.com/gravitational/teleport is affected in releases prior to 17.5.2, 16.5.12, 15.5.3, 14.4.1, 13.4.27, 12.4.35, Latest secure release. Upgrade your dependency to 17.5.2, 16.5.12, 15.5.3, 14.4.1, 13.4.27, 12.4.35, Latest secure release or later.
What is the CVSS score of CVE-2025-49825?
CVE-2025-49825 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-49825?
CVE-2025-49825 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Go dependencies for CVE-2025-49825?
Run the dependency tree command: 'inspect dependencies for github.com/gravitational/teleport'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8cqv-pj7f-pwpc",
  "modified" : "2025-06-18T14:15:07Z",
  "published" : "2025-06-16T17:16:31Z",
  "aliases" : [ "CVE-2025-49825" ],
  "summary" : "Teleport allows remote authentication bypass",
  "details" : "### Impact\n\nA full technical disclosure and open-source patch will be published after the embargo period, ending on June 30th, to allow all users to upgrade.\n\nTeleport security engineers identified a critical security vulnerability that could allow remote authentication bypass of Teleport.  \n\nTeleport Cloud Infrastructure and CI/CD build, test, and release infrastructure aren’t affected. \n\nFor the full mitigation, upgrade both Proxy and Teleport agents. It is strongly recommend updating clients to the released patch versions as a precaution.\n\n\nHave questions? \n\n- OSS Community: [opensource@goteleport.com](mailto:opensource@goteleport.com) \n- Legal: [legal@goteleport.com](mailto:legal@goteleport.com)\n- Security: [security@goteleport.com](mailto:security@goteleport.com)\n- Customer Support: [goteleport.com/support](https://goteleport.com/support)\n- Media Inquiries: [teleport@babelpr.com](mailto:teleport@babelpr.com)\n\n### Patches\n\nFixed in versions: 17.5.2, 16.5.12, 15.5.3, 14.4.1, 13.4.27, 12.4.35.\n\nThese patches are available only on the [official Teleport distribution channels](https://goteleport.com/docs/installation/). \n\nThese versions are designated as _Critical Security Exception Versions_. \n\n_For these specific patch versions of Teleport Community Edition, the Community Edition restrictions are removed on employee count or revenue thresholds, as long as you apply the patch within thirty (30) days of its official release._\n\n_Please read the full text of the updated Teleport Community Edition license for details._",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "17.0.0"
      }, {
        "fixed" : "17.5.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.0.0"
      }, {
        "fixed" : "16.5.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0"
      }, {
        "fixed" : "15.5.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.0.0"
      }, {
        "fixed" : "14.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0"
      }, {
        "fixed" : "13.4.27"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.11"
      }, {
        "fixed" : "12.4.35"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.0.0-20250616162021-79b2f26125a1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/gravitational/teleport/security/advisories/GHSA-8cqv-pj7f-pwpc"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-49825"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/gravitational/teleport"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-16T17:16:31Z",
    "nvd_published_at" : "2025-06-17T22:15:49Z"
  }
}