CVE-2025-1293: Github.com/hashicorp forge/hermes Hermes Improperly Validates A JWT Vulnerability

HIGH
Advisory Identifier: GHSA-vxm9-8mfw-vc6g
CVSS 8.2
CWE-1390
Published
Advisory Summary

CVE-2025-1293 is a HIGH (CVSS 8.2) hermes improperly validates a jwt vulnerability (CWE-1390: Weak Authentication) affecting Github.com/hashicorp forge/hermes libraries in the Go ecosystem. The issue involves hermes improperly validates a jwt. Remediation is available by upgrading affected packages to version 0.5.0.

CVE-2025-1293 at a Glance

CVE Identifier CVE-2025-1293
GHSA Identifier GHSA-vxm9-8mfw-vc6g
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-1390: Weak Authentication
Affected Product Github.com/hashicorp forge/hermes
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.2

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

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

How to Fix CVE-2025-1293

To remediate this vulnerability, upgrade all affected Github.com/hashicorp forge/hermes 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/hashicorp-forge/hermes fixed: 0.5.0
Upgrade github.com/hashicorp-forge/hermes to 0.5.0
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/hashicorp-forge/hermes

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-1293, inspect your project dependencies for Github.com/hashicorp forge/hermes:

inspect dependencies for github.com/hashicorp-forge/hermes

Analyze the terminal output to locate any version of Github.com/hashicorp forge/hermes in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.0), 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-1390: Weak Authentication, where the product uses an authentication mechanism to restrict access to specific users or identities, but the mechanism does not sufficiently prove that the claimed identity is correct. In Github.com/hashicorp forge/hermes, 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

Hermes versions up to 0.4.0 improperly validated the JWT provided when using the AWS ALB authentication mode, potentially allowing for authentication bypass. This vulnerability, CVE-2025-1293, was fixed in Hermes 0.5.0.

CVE-2025-1293 Affected Github.com/hashicorp forge/hermes Versions

1 component(s)
Fixed Versions:
0.5.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/hashicorp-forge/hermes
Go
< 0.5.0
0.5.0

References

Frequently Asked Questions

What is CVE-2025-1293?
CVE-2025-1293 is a security vulnerability in Github.com/hashicorp forge/hermes involving Hermes improperly validates a JWT under CWE-1390: Weak Authentication.
Which Github.com/hashicorp forge/hermes versions are affected?
Affected versions include releases prior to 0.5.0 across affected packages: github.com/hashicorp-forge/hermes.
What version fixes CVE-2025-1293?
Upgrading to 0.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/hashicorp-forge/hermes affected?
Yes, github.com/hashicorp-forge/hermes is affected in releases prior to 0.5.0. Upgrade your dependency to 0.5.0 or later.
What is the CVSS score of CVE-2025-1293?
CVE-2025-1293 has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N.
What CWE is associated with CVE-2025-1293?
CVE-2025-1293 is classified under CWE-1390: Weak Authentication (The product uses an authentication mechanism to restrict access to specific users or identities, but the mechanism does not sufficiently prove that the claimed identity is correct.).
How can I check Go dependencies for CVE-2025-1293?
Run the dependency tree command: 'inspect dependencies for github.com/hashicorp-forge/hermes'. 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-vxm9-8mfw-vc6g",
  "modified" : "2025-02-20T20:19:01Z",
  "published" : "2025-02-20T03:32:03Z",
  "aliases" : [ "CVE-2025-1293" ],
  "summary" : "Hermes improperly validates a JWT",
  "details" : "Hermes versions up to 0.4.0 improperly validated the JWT provided when using the AWS ALB authentication mode, potentially allowing for authentication bypass. This vulnerability, CVE-2025-1293, was fixed in Hermes 0.5.0.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/hashicorp-forge/hermes"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.5.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-1293"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hashicorp-forge/hermes/commit/e36d479616099bd0c8dfde6786ea671f112d9106"
  }, {
    "type" : "WEB",
    "url" : "https://discuss.hashicorp.com/t/hcsec-2025-03-hashicorp-hermes-improperly-validates-aws-alb-jwts-which-may-lead-to-authentication-bypass/73371"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hashicorp-forge/hermes"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1390" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-02-20T20:19:01Z",
    "nvd_published_at" : "2025-02-20T01:15:09Z"
  }
}