CVE-2026-62162

Source
https://cve.org/CVERecord?id=CVE-2026-62162
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62162.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-62162
Aliases
  • GHSA-gfpc-m687-p7h5
Published
2026-10-30T18:30:20Z
Modified
2026-11-01T02:47:31Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Hydra: Deposit Claim omits Head state-token spending requirement
Details

Hydra is a layer-two scalability solution for Cardano. Prior to 2.1.0, the Claim branch in hydra-plutus/validators/deposit.ak checks only that datum.head_id matches the attacker-controlled redeemer.currencySymbol and that the transaction is valid before the deposit deadline. It neither requires spending the Head state-token UTxO in the same transaction nor constrains outputs. After a deposit made through POST /commit is confirmed, any third party able to build a Cardano transaction can observe and consume the pending deposit UTxO before its deadline and redirect the assets to an arbitrary address. A standalone deposit spend invokes no Head validator, bypassing its safety checks; historical head-ID binding and the Aiken rewrite retained this missing invariant. The default deadline is three times depositPeriod, so the described attack applies to pending deposits before that deadline. This issue is fixed in version 2.1.0.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62162.json"
}
References

Affected packages

Git / github.com/cardano-scaling/hydra

Affected ranges

Type
GIT
Repo
https://github.com/cardano-scaling/hydra
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "2.1.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "ff60e4af4ecf05545a696a6d9bf1afeffe991de0"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "2.1.0",
            "range": [
                {
                    "fixed": "d7b721ecf7bd9c41e2bfc1207d970a09830aaa35"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.1.0
0.10.0
0.11.0
0.12.0
0.13.0
0.14.0
0.15.0
0.16.0
0.17.0
0.18.0
0.18.1
0.19.0
0.2.0
0.20.0
0.21.0
0.22.0
0.3.0
0.4.0
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.9.0
1.*
1.0.0
1.2.0
1.3.0
2.*
2.0.0
plutus-cbor-1.*
plutus-cbor-1.0.0
plutus-merkle-tree-1.*
plutus-merkle-tree-1.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62162.json"