# CVE-2022-31020: Remote code execution in Indy's NODE\_UPGRADE transaction

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-09-06 · Modified: 2025-04-23
- Aliases: GHSA-r6v9-p59m-gj2p, PYSEC-2022-265
- Record: https://cvemate.com/vulnerability/CVE-2022-31020 · JSON: https://cvemate.com/vulnerability/CVE-2022-31020/json

## Description

```text
Indy Node is the server portion of a distributed ledger purpose-built for decentralized identity. In versions 1.12.4 and prior, the `pool-upgrade` request handler in Indy-Node allows an improperly authenticated attacker to remotely execute code on nodes within the network. The `pool-upgrade` request handler in Indy-Node 1.12.5 has been updated to properly authenticate pool-upgrade transactions before any processing is performed by the request handler. The transactions are further sanitized to prevent remote code execution. As a workaround, endorsers should not create DIDs for untrusted users. A vulnerable ledger should configure `auth_rules` to prevent new DIDs from being written to the ledger until the network can be upgraded.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.376%, percentile 84.411%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- hyperledger indy-node: ≤ 1.12.4
- linuxfoundation indy-node: ≤ 1.12.4
- PyPI indy-node (PyPI): \< fe507474f77084faef4539101e2bbb4d508a97f5 \| \< 1.12.5rc1

## References

- <https://github.com/hyperledger/indy-node/security/advisories/GHSA-r6v9-p59m-gj2p>
- <https://github.com/hyperledger/indy-node/commit/fe507474f77084faef4539101e2bbb4d508a97f5>
- <https://github.com/hyperledger/indy-node/releases/tag/v1.12.5>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31020>
- <https://github.com/hyperledger/indy-node>
- <https://github.com/pypa/advisory-database/tree/main/vulns/indy-node/PYSEC-2022-265.yaml>

---

Data as of 2026-12-05T04:39:28.441Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
