Vulnerability in hex_core
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-21619 has been found in hex_core.
Risk of unauthorized operations or information disclosure.
What to do: upgrade hex_core to 0.12.1 or later.
If unsure, ask your IT team or search "hex_core CVE-2026-21619" on the vendor's site.
CVE-2026-21619 (hex_core) — CWE-400
Patched: 0.12.1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-400) exists in hex_core.
Check the vendor advisory for the affected versions of hex_core.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 0.12.1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'hex_core' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'hex_core' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
hex_coreを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade hex_core to 0.12.1ステージング環境で 0.12.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Hexhex_core |
≥ 0.1.0, < 0.12.1→ 0.12.1 |
0.12.1 |
| hexpmhex_core |
≥ eb327f8edfe45507351e38cc0805aa12fa647f0b, < cdf726095bca85ad2549d146df1e831ae93c2b13→ cdf726095bca85ad2549d146df1e831ae93c2b13 |
cdf726095bca85ad2549d146df1e831ae93c2b13 |
| erlangrebar3 |
≥ 209c02ec57c2cc3207ee0174c3af3675b8dc8f79, < 1d4478f527e373de0b225951e53115450e0d9b9d→ 1d4478f527e373de0b225951e53115450e0d9b9d |
1d4478f527e373de0b225951e53115450e0d9b9d |
| hexpmhex |
≥ 314546ac432229518714cc8e3336e916b9da6305 (no fix yet)→ 636739f3322514e9303ca335fb630696fcbb3c95, a9999e425d9c0f9fc8c53e7823eee898156c4d1a |
636739f3322514e9303ca335fb630696fcbb3c95, a9999e425d9c0f9fc8c53e7823eee898156c4d1a |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-21619 rebar3, erlang-hex Fix available
- Ubuntu UBUNTU-CVE-2026-21619 rebar3 No fixed version in this record
Original description The description as published by the source.
Summary
Uncontrolled Resource Consumption, Deserialization of Untrusted Data vulnerability in hexpm hex_core (hex_api modules), hexpm hex (mix_hex_api modules), erlang rebar3 (r3_hex_api modules) allows Object Injection, Excessive Allocation.
This vulnerability is associated with program files src/hex_api.erl, src/mix_hex_api.erl, apps/rebar/src/vendored/r3_hex_api.erl and program routines hex_core:request/4, mix_hex_api:request/4, r3_hex_api:request/4.
This issue affects rebar3: from 3.9.1 before 3.27.0; hex: from 2.3.0 before 2.3.2; hex_core: from 0.1.0 before 0.12.1.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package hex.pm
- package github.com
- package github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web cna.erlef.org
- web github.com
- web osv.dev
- web repo.hex.pm
- web github.com
- web github.com
- web github.com