Skip to content
RedCVE

CVE-2026-128361phoenixframework Phoenix improper input validation

phoenixframeworkPublished:

CVSS score

8.2

High

CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Exploit probability (EPSS)

0.60%

0.60% chance of exploitation in the next 30 days, higher than 49.8% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

Improper Input Validation vulnerability in phoenixframework phoenix (Phoenix.Presence) allows an attacker who can join a channel to cause a denial of service via a non-string presence key. track/3,4 accepts any term as the presence key, such as a JSON object taken from a join payload. The key is converted with to_string/1 only later, in Phoenix.Presence.group/1, which raises Protocol.UndefinedError on a map. group/1 runs whenever presences are listed and when each presence diff is broadcast, together with the application's fetch/2, which can likewise raise on an unexpected key. Once such a key is tracked, every process that lists presences on the topic crashes, typically each channel that joins it, and presence diffs for the topic are lost. From 1.7.0 the diff runs in a Task.Supervisor.async task linked to the tracker shard, and Phoenix.Presence.handle_info/2 has no clause for its failure. The shard then terminates, taking down every channel and LiveView process tracked on it and erasing presence state for all its topics. Repeated joins exhaust the restart intensity and take down the application supervisor. This issue affects phoenix: from 1.2.0 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17.

Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

How to fix it, step by step

  1. Check whether you're affected

    Find every system running phoenixframework Phoenix and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Phoenix to 1.5.16, 1.6.18, 1.7.25, 1.8.17 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
phoenixframework Phoenix≥ 1.2.0, < 1.5.16 · ≥ 1.6.0-rc.0, < 1.6.18 · ≥ 1.7.0-rc.0, < 1.7.25 · ≥ 1.8.0-rc.0, < 1.8.17 · 44e7618370629df93711cd6169789fd0d8f3678e

Weakness

  • CWE-20 improper input validation

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-128361 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-128361?

CVE-2026-128361 has a CVSS 4.0 base score of 8.2 (high).

Which versions are affected?

Phoenixframework Phoenix (≥ 1.2.0, < 1.5.16; ≥ 1.6.0-rc.0, < 1.6.18; ≥ 1.7.0-rc.0, < 1.7.25; ≥ 1.8.0-rc.0, < 1.8.17; 44e7618370629df93711cd6169789fd0d8f3678e)

Is there a patch for CVE-2026-128361?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.