Skip to content
Heist/ feed
Back to feed
High

FreshRSS has an authentication bypass due to truncated bcrypt hash [edge branch]

Type: advisorySources: OSV

FreshRSS is a free, self-hostable RSS aggregator. From 57e1a37 - 00f2f04, the lengths of the nonce was changed from 40 chars to 64. password_verify() is currently being called with a constructed string (SHA-256 nonce + part of a bcrypt hash) instead of the raw user password. Due to bcrypt’s 72-byte input truncation, this causes password verification to succeed even when the user enters an incorrect password. This vulnerability is fixed in 1.27.2-dev (476e57b). The issue was only present in the edge branch and never in a stable release.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-68402
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:11 UTC · Revision 1

Source evidence

FreshRSS has an authentication bypass due to truncated bcrypt hash [edge branch]

core-osv · Original source

Published 9 Mar 2026, 19:41 UTC

FreshRSS is a free, self-hostable RSS aggregator. From 57e1a37 - 00f2f04, the lengths of the nonce was changed from 40 chars to 64. password_verify() is currently being called with a constructed string (SHA-256 nonce + part of a bcrypt hash) instead of the raw user password. Due to bcrypt’s 72-byte input truncation, this causes password verification to succeed even when the user enters an incorrect password. This vulnerability is fixed in 1.27.2-dev (476e57b). The issue was only present in the edge branch and never in a stable release.

osv:CVE-2025-68402
Complete source record
{
  "id": "82bc45d78926cde339e1651c74553c6d2cb70a10bf4af801962f2bed65f9686e",
  "url": "https://osv.dev/vulnerability/CVE-2025-68402",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "FreshRSS has an authentication bypass due to truncated bcrypt hash [edge branch]",
    "summary": "FreshRSS is a free, self-hostable RSS aggregator. From 57e1a37 - 00f2f04, the lengths of the nonce was changed from 40 chars to 64. password_verify() is currently being called with a constructed string (SHA-256 nonce + part of a bcrypt hash) instead of the raw user password. Due to bcrypt’s 72-byte input truncation, this causes password verification to succeed even when the user enters an incorrect password. This vulnerability is fixed in 1.27.2-dev (476e57b). The issue was only present in the edge branch and never in a stable release.",
    "evidence": "osv:CVE-2025-68402",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-68402",
      "aliases": [
        "CVE-2025-68402",
        "GHSA-pcq9-mq6m-mvmp"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/freshrss/freshrss",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "476e57b04646416e24e24c56133c9fadf9e52b95"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "476e57b04646416e24e24c56133c9fadf9e52b95"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "476e57b04646416e24e24c56133c9fadf9e52b95"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.27.1",
            "1.27.0",
            "1.26.3",
            "1.26.2",
            "1.26.1",
            "1.26.0",
            "1.25.0",
            "1.24.3",
            "1.24.2",
            "1.24.1",
            "1.24.0",
            "1.23.1",
            "1.23.0",
            "1.22.1",
            "1.22.0",
            "1.21.0",
            "1.20.1",
            "1.20.0",
            "1.19.2",
            "1.19.1",
            "1.19.0",
            "1.18.1",
            "1.18.0",
            "1.17.0",
            "1.16.2",
            "1.16.1",
            "1.16.0",
            "1.15.2",
            "1.15.1",
            "1.15.0",
            "1.14.3",
            "1.14.2",
            "1.14.1",
            "1.14.0",
            "1.13.1",
            "1.13.0",
            "1.12.0",
            "1.11.2",
            "1.11.1",
            "1.11.0",
            "1.10.2",
            "1.10.1",
            "1.10.0",
            "1.9.0",
            "1.8.0",
            "1.6.1",
            "1.7.0",
            "1.6.3",
            "1.6.2",
            "0.7.1",
            "1.6.0",
            "1.5.0",
            "1.4.0",
            "1.2.0",
            "1.0.0",
            "0.8.1",
            "0.8.0",
            "0.7.0",
            "0.6.1",
            "0.6.0",
            "0.5.0",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68402.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.539786641Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68402.json",
        "https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-pcq9-mq6m-mvmp",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68402",
        "https://github.com/FreshRSS/FreshRSS/commit/476e57b04646416e24e24c56133c9fadf9e52b95",
        "https://github.com/FreshRSS/FreshRSS/pull/8061",
        "https://github.com/FreshRSS/FreshRSS/pull/8320"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-287"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68402.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68402",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521232,
  "published_at": "2026-03-09T19:41:57.974+00:00"
}