<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/debugging-a-false-positive-hex-advisory-in-elixir-ci-pofydikye" -->

---
title: Debugging a False-Positive Hex Advisory in Elixir CI
description: A dependency update in an Elixir/Phoenix project triggered a CI failure from mix hex.audit reporting CVE-2026-32686 against Decimal 3.1.1. Investigation...
canonical: https://daily.dev/posts/debugging-a-false-positive-hex-advisory-in-elixir-ci-pofydikye
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Debugging a False-Positive Hex Advisory in Elixir CI | daily.dev
og:description: A dependency update in an Elixir/Phoenix project triggered a CI failure from mix hex.audit reporting CVE-2026-32686 against Decimal 3.1.1. Investigation...
og:url: https://daily.dev/posts/debugging-a-false-positive-hex-advisory-in-elixir-ci-pofydikye
og:image: https://api.daily.dev/og/posts/POFYdIkYE.png
og:image:alt: Debugging a False-Positive Hex Advisory in Elixir CI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Debugging a False-Positive Hex Advisory in Elixir CI

**[ElixirStatus](https://daily.dev/sources/elixirstatus)** · 7 min read · 0 upvotes · 0 comments

## Summary

A dependency update in an Elixir/Phoenix project triggered a CI failure from mix hex.audit reporting CVE-2026-32686 against Decimal 3.1.1. Investigation revealed the installed version was actually unaffected: the vulnerability only applied to Decimal versions before 3.0.0, but a defaultStatus field error in the original CVE record caused newer tooling to misclassify all versions as affected. The fix involved temporarily suppressing the advisory via Hex's ignore_advisories config while verifying the version, tracing the advisory's data pipeline from CVE to OSV to Hex, and removing the exception once the upstream CVE record was corrected on September 8, 2026. The piece emphasizes that a failed security scan should trigger investigation, not automatic bypass or blind trust, and that temporary exceptions need clear removal conditions to avoid becoming permanent blind spots.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://abulasar.com/debugging-false-positive-hex-advisory-elixir-ci>

## Questions this post answers

### Why does mix hex.audit report CVE-2026-32686 against Decimal 3.1.1 when the vulnerability was fixed in Decimal 3.0.0?

The CVE record for Decimal's decimal128 exponent handling vulnerability had its defaultStatus field incorrectly set to 'affected', which newer OSV-consuming tooling interpreted as marking every version outside the explicit vulnerable range (below 3.0.0) as affected too, including 3.1.1. Decimal 3.1.1 is actually unaffected since the fix landed in 3.0.0. The record was corrected to defaultStatus 'unaffected' on September 8, 2026.

_Elixir teams chasing down Hex advisory false positives can track fixes and CVE corrections like this on daily.dev._

### How do I temporarily suppress a specific Hex advisory without disabling mix hex.audit entirely?

Add an ignore_advisories list under the hex key in mix.exs, for example hex: [ignore_advisories: ["CVE-2026-32686"]], a feature introduced in Hex 2.5.1. Ignored advisories no longer cause mix hex.audit to fail, but the exception is scoped only to that advisory identifier, not to a specific package version, so it should be paired with a documented removal condition and periodic review.

_Developers managing security exceptions in Elixir CI pipelines can compare approaches like this on daily.dev._

### What is the difference between mix deps.update warnings and mix hex.audit failures in Elixir?

Mix deps.update commands display advisory warnings for resolved packages informationally and do not fail by default, a behavior added since Hex 2.5. In contrast, mix hex.audit inspects the entire lockfile and exits with a non-zero status when any locked package has an active advisory, making it the command designed for enforcing security policy in CI.

_Teams designing CI gates around dependency audits can dig into distinctions like this on daily.dev._

## Similar posts on daily.dev

- [AI just changed the threat model for our ecosystem](https://daily.dev/posts/ai-just-changed-the-threat-model-for-our-ecosystem-3ca4o71dk) · Elixir Forum · 0 upvotes · 0 comments
- [Hex v2.5.0 released](https://daily.dev/posts/hex-v2-5-0-released-3k7bk0e4k) · Elixir Forum · 0 upvotes · 0 comments
- [Security Vendor's AI Best Practices Labels Critical Elixir RCE Safe](https://daily.dev/posts/security-vendor-s-ai-best-practices-labels-critical-elixir-rce-safe-plt0gsh5k) · ElixirStatus · 0 upvotes · 0 comments
- [CVE-2026–4931: How Spearbit’s Cantina Denied a Critical Vulnerability Using Verifiably False Bytecode Claims](https://daily.dev/posts/cve-2026-4931-how-spearbit-s-cantina-denied-a-critical-vulnerability-using-verifiably-false-bytecod-nxnrcnzea) · Coins Bench · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#cicd](https://daily.dev/tags/cicd), [#elixir](https://daily.dev/tags/elixir)

[View this post on daily.dev](https://daily.dev/posts/debugging-a-false-positive-hex-advisory-in-elixir-ci-pofydikye)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Debugging a False-Positive Hex Advisory in Elixir CI","url":"https://daily.dev/posts/debugging-a-false-positive-hex-advisory-in-elixir-ci-pofydikye","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/debugging-a-false-positive-hex-advisory-in-elixir-ci-pofydikye"},"datePublished":"2026-09-19T20:13:42.173Z","dateModified":"2026-09-19T20:14:07.675Z","description":"A dependency update in an Elixir/Phoenix project triggered a CI failure from mix hex.audit reporting CVE-2026-32686 against Decimal 3.1.1. Investigation...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1f45dedccb15e6afdbfd2faa77de388d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1f45dedccb15e6afdbfd2faa77de388d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"ElixirStatus","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ElixirStatus","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/22e4640538124187827caf8cc8e39190","url":"https://daily.dev/sources/elixirstatus"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/debugging-a-false-positive-hex-advisory-in-elixir-ci-pofydikye","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,cicd,elixir","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ElixirStatus","item":"https://daily.dev/sources/elixirstatus"},{"@type":"ListItem","position":3,"name":"Debugging a False-Positive Hex Advisory in Elixir CI"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/debugging-a-false-positive-hex-advisory-in-elixir-ci-pofydikye#faq","mainEntity":[{"@type":"Question","name":"Why does mix hex.audit report CVE-2026-32686 against Decimal 3.1.1 when the vulnerability was fixed in Decimal 3.0.0?","acceptedAnswer":{"@type":"Answer","text":"The CVE record for Decimal's decimal128 exponent handling vulnerability had its defaultStatus field incorrectly set to 'affected', which newer OSV-consuming tooling interpreted as marking every version outside the explicit vulnerable range (below 3.0.0) as affected too, including 3.1.1. Decimal 3.1.1 is actually unaffected since the fix landed in 3.0.0. The record was corrected to defaultStatus 'unaffected' on September 8, 2026. Elixir teams chasing down Hex advisory false positives can track fixes and CVE corrections like this on daily.dev."}},{"@type":"Question","name":"How do I temporarily suppress a specific Hex advisory without disabling mix hex.audit entirely?","acceptedAnswer":{"@type":"Answer","text":"Add an ignore_advisories list under the hex key in mix.exs, for example hex: [ignore_advisories: [\"CVE-2026-32686\"]], a feature introduced in Hex 2.5.1. Ignored advisories no longer cause mix hex.audit to fail, but the exception is scoped only to that advisory identifier, not to a specific package version, so it should be paired with a documented removal condition and periodic review. Developers managing security exceptions in Elixir CI pipelines can compare approaches like this on daily.dev."}},{"@type":"Question","name":"What is the difference between mix deps.update warnings and mix hex.audit failures in Elixir?","acceptedAnswer":{"@type":"Answer","text":"Mix deps.update commands display advisory warnings for resolved packages informationally and do not fail by default, a behavior added since Hex 2.5. In contrast, mix hex.audit inspects the entire lockfile and exits with a non-zero status when any locked package has an active advisory, making it the command designed for enforcing security policy in CI. Teams designing CI gates around dependency audits can dig into distinctions like this on daily.dev."}}]}
```

