CVE-2026-38601

Hardcoded Session Secret Key Enables User Impersonation

Published Nov 3, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A hardcoded session secret key in codeskyblue gohttpserver through v1.3.0 allows attackers to impersonate any user, bypass OpenID Connect authentication and access all controls via forged session cookies.

Analysis

AI-generated

Technical impact

A hardcoded session secret key in the codeskyblue GoHTTPServer library through version 1.3.0 allows attackers to forge session cookies, bypass OpenID Connect authentication, and gain control of all application functions. This flaw means an attacker who can supply a valid cookie can impersonate any user and access administrative controls without credentials.

Affected Systems

The codeskyblue GoHTTPServer library, versions up to and including 1.3.0, is affected.

Risk and Exploitability

CVSS score 7.5, EPSS < 1%, and the flaw is not listed in CISA KEV. The description indicates that forging session cookies is sufficient for exploitation. Because the secret key is part of the code, the vulnerability can be exploited remotely by any user who can send crafted cookies to the running instance. The risk remains high, especially for sites relying on OpenID Connect for authentication, as an attacker could accomplish full account takeover.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade GoHTTPServer to a release that removes the hardcoded session secret key.
  • If an upgrade is not immediately possible, generate a strong, unique session secret at runtime and configure the application to load it from a secure environment variable or secret store instead of embedding it in the code.
  • After deployment, monitor authentication logs for abnormal session cookie activity or unexpected user impersonation.

Generated by OpenCVE AI on November 9, 2026 at 19:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Hardcoded Session Secret Key Enables User Impersonation
Type Values Removed Values Added
Title Hardcoded session secret in GoHTTPServer enables user impersonation
Weaknesses CWE-256
CWE-336
Type Values Removed Values Added
Weaknesses CWE-798
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
Title Hardcoded session secret in GoHTTPServer enables user impersonation
Weaknesses CWE-256
CWE-336
Type Values Removed Values Added
Description A hardcoded session secret key in codeskyblue gohttpserver through v1.3.0 allows attackers to impersonate any user, bypass OpenID Connect authentication and access all controls via forged session cookies.
References

Subscriptions

No data.

Weaknesses
  • CWE-798

    Use of Hard-coded Credentials

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 9, 2026, 3:35 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
Nov 3, 2026, 5:18 PM
Modified
Nov 12, 2026, 10:11 PM