Skip to content
Heist/ feed
Back to feed
Critical

Peppermint through 0.5.5 Use of Hard-coded JWT Signing Secret in docker-compose.yml

Type: advisorySources: OSV

Peppermint through 0.5.5 contains a hardcoded JWT signing secret in docker-compose.yml that allows unauthenticated attackers to forge session tokens for any account. Attackers can use the published secret to mint valid tokens for arbitrary user IDs and access protected endpoints without credentials.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-85391
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 20:40 UTC · Revision 1

Source evidence

Peppermint through 0.5.5 Use of Hard-coded JWT Signing Secret in docker-compose.yml

core-osv · Original source

Published 3 Sept 2026, 18:54 UTC

Peppermint through 0.5.5 contains a hardcoded JWT signing secret in docker-compose.yml that allows unauthenticated attackers to forge session tokens for any account. Attackers can use the published secret to mint valid tokens for arbitrary user IDs and access protected endpoints without credentials.

osv:CVE-2026-85391
Complete source record
{
  "id": "b860264238c4a05417852899f0a886098325536090040b76005ae1d4e10b76e9",
  "url": "https://osv.dev/vulnerability/CVE-2026-85391",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Peppermint through 0.5.5 Use of Hard-coded JWT Signing Secret in docker-compose.yml",
    "summary": "Peppermint through 0.5.5 contains a hardcoded JWT signing secret in docker-compose.yml that allows unauthenticated attackers to forge session tokens for any account. Attackers can use the published secret to mint valid tokens for arbitrary user IDs and access protected endpoints without credentials.",
    "evidence": "osv:CVE-2026-85391",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-85391",
      "aliases": [
        "CVE-2026-85391"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/peppermint-lab/peppermint",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "71ae71ba78e1d605bc4b178342710cc7f1dc3714"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.5.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.5.5"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.5.5",
            "0.5.4.2",
            "0.5.3.2",
            "0.5.3.1",
            "0.5.2",
            "0.5.1",
            "0.4.8",
            "0.4.7",
            "0.4.6",
            "0.4.2",
            "0.4",
            "0.3.5",
            "0.3.4",
            "0.3.3",
            "0.3.2",
            "0.3",
            "0.2.3",
            "0.2.2",
            "0.2.1",
            "0.2",
            "0.1.9",
            "0.1.8.5",
            "0.1.7.8",
            "0.1.7.7",
            "0.1.7.5",
            "0.1.6",
            "0.1.5",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85391.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.523403071Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85391.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-85391",
        "https://www.vulncheck.com/advisories/peppermint-through-0.5.5-use-of-hard-coded-jwt-signing-secret-in-docker-compose-yml",
        "https://github.com/Peppermint-Lab/peppermint/issues/528",
        "https://github.com/Peppermint-Lab/peppermint",
        "https://github.com/Peppermint-Lab/peppermint/blob/0.5.5/apps/api/src/lib/jwt.ts",
        "https://github.com/Peppermint-Lab/peppermint/blob/0.5.5/docker-compose.yml"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-798"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85391.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-85391",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520343,
  "published_at": "2026-09-03T18:54:24.542+00:00"
}