CVE-2026-62253: Homer Authentication Bypass Vulnerability

CRITICAL
Advisory Identifier: GHSA-rqcc-94gv-wjm9
CVSS 9.8
CWE-306
Published
Advisory Summary

CVE-2026-62253 is a CRITICAL (CVSS 9.8) authentication bypass vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Homer libraries in the Go ecosystem. The issue involves complete authentication bypass when coordinator.jwt.secret is empty (default). Remediation is available by upgrading affected packages to version 0.0.0-20260625093330-5e90809657c9.

CVE-2026-62253 at a Glance

CVE Identifier CVE-2026-62253
GHSA Identifier GHSA-rqcc-94gv-wjm9
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-306: Missing Authentication for Critical Function
Affected Product Homer
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-2026-62253

To remediate this vulnerability, upgrade all affected Homer 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/sipcapture/homer-app fixed: 0.0.0-20260625093330-5e90809657c9
Upgrade github.com/sipcapture/homer-app to 0.0.0-20260625093330-5e90809657c9
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/sipcapture/homer-app

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-62253, inspect your project dependencies for Homer:

inspect dependencies for github.com/sipcapture/homer-app

Analyze the terminal output to locate any version of Homer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260625093330-5e90809657c9), 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-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Homer, 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

### Summary Both JWT middleware functions (`JWTMiddleware` and `JWTMiddlewareV4`) immediately return `next(c)` when `jwtSecret == ""`. The JWT secret defaults to an empty string. On a default installation, all protected API endpoints under `/api/v1`, `/api/v3`, and `/api/v4` are completely unauthenticated. ### Details **`coordinator/handlers/auth.go` lines 298-304:** ```go func (h *Auth) JWTMiddleware() echo.MiddlewareFunc { return func(next echo.HandlerFunc) echo.HandlerFunc { return func(c echo.Context) error { if h.jwtSecret == "" { return next(c) // bypass — no validation performed } ``` **`coordinator/handlers/auth_v4_helpers.go` lines 177-182:** ```go func (h *Auth) JWTMiddlewareV4() echo.MiddlewareFunc { return func(next echo.HandlerFunc) echo.HandlerFunc { return func(c echo.Context) error { if h.jwtSecret == "" { return next(c) // same bypass ``` **`coordinator/coordinator.go` lines 315-317:** ```go if c.config.JWT.Secret != "" { protected.Use(authHandler.JWTMiddleware()) // middleware not even registered when secret is empty } ``` **`config/config.go` line 845:** `Secret` field struct tag has `default:""`. The example config ships a placeholder value, but the Go struct default (used when no config is provided) is empty. ### PoC ```bash # On a default Homer installation (no JWT secret configured), all protected routes are open: curl http://<homer-host>/api/v3/users # Returns full user list with no credentials curl http://<homer-host>/api/v3/databases # Returns all database connection strings curl -X POST http://<homer-host>/api/v3/users \ -H 'Content-Type: application/json' \ -d '{"username":"attacker","password":"pw","partid":10,"usergroup":"admin"}' # Creates a new admin user with no credentials ``` ### Impact Missing Authentication for Critical Function (CWE-306). On a default Homer installation with no JWT secret configured, every admin API endpoint is completely unauthenticated. Attackers can read/write all configuration, users, database connections, and stored VoIP call data. ### Fix Fail closed: if `JWT.Secret` is empty at startup, abort with a fatal error requiring the operator to set a strong secret. Remove the empty-string shortcircuit from both middleware functions: ```go if h.jwtSecret == "" { log.Fatal("coordinator.jwt.secret must be set to a non-empty value") } ``` If possible, please apply for a CVE number when posting.

CVE-2026-62253 Affected Homer Versions

1 component(s)
Fixed Versions:
0.0.0-20260625093330-5e90809657c9
Product / Package Ecosystem Affected Versions Fixed Version
github.com/sipcapture/homer-app
Go
< 0.0.0-20260625093330-5e90809657c9
0.0.0-20260625093330-5e90809657c9

References

Frequently Asked Questions

What is CVE-2026-62253?
CVE-2026-62253 is a security vulnerability in Homer involving Complete Authentication Bypass When coordinator.jwt.secret Is Empty (Default) under CWE-306: Missing Authentication for Critical Function.
Which Homer versions are affected?
Affected versions include releases prior to 0.0.0-20260625093330-5e90809657c9 across affected packages: github.com/sipcapture/homer-app.
What version fixes CVE-2026-62253?
Upgrading to 0.0.0-20260625093330-5e90809657c9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/sipcapture/homer-app affected?
Yes, github.com/sipcapture/homer-app is affected in releases prior to 0.0.0-20260625093330-5e90809657c9. Upgrade your dependency to 0.0.0-20260625093330-5e90809657c9 or later.
What is the CVSS score of CVE-2026-62253?
CVE-2026-62253 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-2026-62253?
CVE-2026-62253 is classified under CWE-306: Missing Authentication for Critical Function (The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.).
How can I check Go dependencies for CVE-2026-62253?
Run the dependency tree command: 'inspect dependencies for github.com/sipcapture/homer-app'. 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-rqcc-94gv-wjm9",
  "modified" : "2026-10-07T16:11:58Z",
  "published" : "2026-10-07T16:11:58Z",
  "aliases" : [ "CVE-2026-62253" ],
  "summary" : "Homer: Complete Authentication Bypass When coordinator.jwt.secret Is Empty (Default)",
  "details" : "### Summary\nBoth JWT middleware functions (`JWTMiddleware` and `JWTMiddlewareV4`) immediately return `next(c)` when `jwtSecret == \"\"`. The JWT secret defaults to an empty string. On a default installation, all protected API endpoints under `/api/v1`, `/api/v3`, and `/api/v4` are completely unauthenticated.\n\n### Details\n**`coordinator/handlers/auth.go` lines 298-304:**\n```go\nfunc (h *Auth) JWTMiddleware() echo.MiddlewareFunc {\n    return func(next echo.HandlerFunc) echo.HandlerFunc {\n        return func(c echo.Context) error {\n            if h.jwtSecret == \"\" {\n                return next(c)  // bypass — no validation performed\n            }\n```\n\n**`coordinator/handlers/auth_v4_helpers.go` lines 177-182:**\n```go\nfunc (h *Auth) JWTMiddlewareV4() echo.MiddlewareFunc {\n    return func(next echo.HandlerFunc) echo.HandlerFunc {\n        return func(c echo.Context) error {\n            if h.jwtSecret == \"\" {\n                return next(c)  // same bypass\n```\n\n**`coordinator/coordinator.go` lines 315-317:**\n```go\nif c.config.JWT.Secret != \"\" {\n    protected.Use(authHandler.JWTMiddleware())  // middleware not even registered when secret is empty\n}\n```\n\n**`config/config.go` line 845:** `Secret` field struct tag has `default:\"\"`.\nThe example config ships a placeholder value, but the Go struct default (used when no config is provided) is empty.\n\n### PoC\n```bash\n# On a default Homer installation (no JWT secret configured), all protected routes are open:\ncurl http://<homer-host>/api/v3/users\n# Returns full user list with no credentials\n\ncurl http://<homer-host>/api/v3/databases\n# Returns all database connection strings\n\ncurl -X POST http://<homer-host>/api/v3/users \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"username\":\"attacker\",\"password\":\"pw\",\"partid\":10,\"usergroup\":\"admin\"}'\n# Creates a new admin user with no credentials\n```\n\n### Impact\nMissing Authentication for Critical Function (CWE-306). On a default Homer installation with no JWT secret configured, every admin API endpoint is completely unauthenticated. Attackers can read/write all configuration, users, database connections, and stored VoIP call data.\n\n### Fix\nFail closed: if `JWT.Secret` is empty at startup, abort with a fatal error requiring the operator to set a strong secret. Remove the empty-string shortcircuit from both middleware functions:\n```go\nif h.jwtSecret == \"\" {\n    log.Fatal(\"coordinator.jwt.secret must be set to a non-empty value\")\n}\n```\n\nIf possible, please apply for a CVE number when posting.",
  "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/sipcapture/homer-app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260625093330-5e90809657c9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sipcapture/homer/security/advisories/GHSA-rqcc-94gv-wjm9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sipcapture/homer/pull/839"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sipcapture/homer/commit/5e90809657c9df321db191a69c6050f873f5646b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sipcapture/homer"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sipcapture/homer/releases/tag/11.0.283"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-07T16:11:58Z",
    "nvd_published_at" : null
  }
}