CVE-2026-50642

MEDIUMPre-NVD 4.84.8
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 4.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 78% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
Trending — 3 sources updated this week
4.8EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 4.8Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

diff‑so‑fancy does not properly sanitize non‑SGR terminal control sequences before outputting diff data. The application only strips ANSI SGR sequences while allowing other control characters, including carriage return (\r) and escape sequences (e.g., OSC, CSI), to pass through unsanitized.

An attacker can embed malicious control sequences in filenames, diff metadata, or file content that are rendered directly in the terminal during diff viewing. This can lead to output manipulation, including filename spoofing, terminal screen clearing, and clipboard injection via supported escape sequences.

Successful exploitation may mislead users during code review, alter terminal state, or result in unintended command execution through clipboard hijacking.

This issue has been fixed in the commit 9c81294

CVSS v3
4.8
EG Score
4.8(medium)
EG Risk
22(Track)
EG Risk 22/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity48% × 45%
Exploitation0% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
22%
KEV
Not listed

Published

July 29, 2026

Last Modified

July 30, 2026

Advisory Details (2)

Auto-updated Jul 29, 2026
No patch confirmed yet.
generic

GitHub - so-fancy/diff-so-fancy: Make your diffs human readable for improved code quality and faster defect detection. :tada: · GitHub

https://github.com/so-fancy/diff-so-fancy
generic

Podatność w oprogramowaniu Quick.Cart | CERT Polska

https://cert.pl/posts/2026/07/CVE-2026-41874/

Vendor Advisories for CVE-2026-50642(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 18× in last 7d / 81× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-25 18:43 UTCEG score recompute
  2. 2026-08-25 18:43 UTCGHSA enrichment
  3. 2026-08-25 13:49 UTCEPSS rescore
  4. 2026-08-24 18:52 UTCEG score recompute
  5. 2026-08-24 18:52 UTCGHSA enrichment
  6. 2026-08-23 19:02 UTCEG score recompute
  7. 2026-08-23 19:02 UTCGHSA enrichment
  8. 2026-08-23 00:19 UTCEPSS rescore
  9. 2026-08-22 19:11 UTCEG score recompute
  10. 2026-08-22 19:11 UTCGHSA enrichment
  11. 2026-08-21 23:49 UTCEPSS rescore
  12. 2026-08-21 19:20 UTCEG score recompute
  13. 2026-08-21 19:20 UTCGHSA enrichment
  14. 2026-08-20 22:55 UTCEPSS rescore
  15. 2026-08-20 19:29 UTCGHSA enrichment
  16. 2026-08-19 19:39 UTCEG score recompute
  17. 2026-08-19 19:39 UTCGHSA enrichment
  18. 2026-08-19 17:04 UTCEPSS rescore
  19. 2026-08-18 18:36 UTCEG score recompute
  20. 2026-08-18 18:36 UTCGHSA enrichment
  21. 2026-08-18 13:48 UTCEPSS rescore
  22. 2026-08-17 16:34 UTCEG score recompute
  23. 2026-08-17 16:34 UTCGHSA enrichment
  24. 2026-08-17 13:47 UTCEPSS rescore
  25. 2026-08-16 16:41 UTCEG score recompute
Show 56 more
  1. 2026-08-16 16:41 UTCGHSA enrichment
  2. 2026-08-16 14:56 UTCEPSS rescore
  3. 2026-08-16 02:14 UTCEPSS rescore
  4. 2026-08-15 16:46 UTCEG score recompute
  5. 2026-08-15 16:46 UTCGHSA enrichment
  6. 2026-08-15 01:30 UTCEPSS rescore
  7. 2026-08-14 16:56 UTCEG score recompute
  8. 2026-08-14 16:56 UTCGHSA enrichment
  9. 2026-08-13 22:00 UTCEPSS rescore
  10. 2026-08-13 17:05 UTCGHSA enrichment
  11. 2026-08-12 17:13 UTCEG score recompute
  12. 2026-08-12 17:13 UTCGHSA enrichment
  13. 2026-08-12 13:51 UTCEPSS rescore
  14. 2026-08-11 17:23 UTCEG score recompute
  15. 2026-08-11 17:23 UTCGHSA enrichment
  16. 2026-08-11 00:00 UTCEPSS rescore
  17. 2026-08-10 17:28 UTCGHSA enrichment
  18. 2026-08-09 17:38 UTCEG score recompute
  19. 2026-08-09 17:38 UTCGHSA enrichment
  20. 2026-08-09 13:46 UTCEPSS rescore
  21. 2026-08-08 17:48 UTCEG score recompute
  22. 2026-08-08 17:48 UTCGHSA enrichment
  23. 2026-08-08 16:37 UTCEPSS rescore
  24. 2026-08-07 17:57 UTCEG score recompute
  25. 2026-08-07 17:57 UTCGHSA enrichment
  26. 2026-08-06 18:07 UTCEG score recompute
  27. 2026-08-06 18:07 UTCGHSA enrichment
  28. 2026-08-06 13:47 UTCEPSS rescore
  29. 2026-08-05 19:17 UTCEPSS rescore
  30. 2026-08-05 18:16 UTCGHSA enrichment
  31. 2026-08-04 18:26 UTCEG score recompute
  32. 2026-08-04 18:26 UTCGHSA enrichment
  33. 2026-08-04 15:10 UTCEPSS rescore
  34. 2026-08-04 10:39 UTCEPSS rescore
  35. 2026-08-03 18:35 UTCEG score recompute
  36. 2026-08-03 18:35 UTCGHSA enrichment
  37. 2026-08-03 10:36 UTCEPSS rescore
  38. 2026-08-02 18:44 UTCEG score recompute
  39. 2026-08-02 18:44 UTCGHSA enrichment
  40. 2026-08-02 02:27 UTCEPSS rescore
  41. 2026-08-01 18:54 UTCEG score recompute
  42. 2026-08-01 18:54 UTCGHSA enrichment
  43. 2026-08-01 04:16 UTCEPSS rescore
  44. 2026-07-31 19:03 UTCGHSA enrichment
  45. 2026-07-30 19:13 UTCEG score recompute
  46. 2026-07-30 19:13 UTCGHSA enrichment
  47. 2026-07-30 16:28 UTCEPSS rescore
  48. 2026-07-30 13:12 UTCEG score recompute
  49. 2026-07-30 13:12 UTCGHSA enrichment
  50. 2026-07-29 13:20 UTCEG score recompute
  51. 2026-07-29 13:20 UTCGHSA enrichment
  52. 2026-07-29 12:38 UTCEG score recompute
  53. 2026-07-29 12:38 UTCGHSA enrichment
  54. 2026-07-29 11:32 UTCEG score recompute
  55. 2026-07-29 10:23 UTCEG score recompute
  56. 2026-07-29 10:22 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-50642?
CVE-2026-50642 is a medium vulnerability published on July 29, 2026. diff‑so‑fancy does not properly sanitize non‑SGR terminal control sequences before outputting diff data. The application only strips ANSI SGR sequences while allowing other control characters, including carriage return (\r) and escape sequences (e.g., OSC, CSI), to pass through unsanitized. An…
When was CVE-2026-50642 disclosed?
CVE-2026-50642 was first published in the National Vulnerability Database on July 29, 2026, with the most recent update on July 30, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-50642 actively exploited?
CVE-2026-50642 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 78.0% of all scored CVEs.
What is the CVSS score of CVE-2026-50642?
CVE-2026-50642 has a CVSS v3 base score of 4.8 (NVD).
How do I remediate CVE-2026-50642?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-50642, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-50642

Explore →

Is Your Infrastructure Affected by CVE-2026-50642?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.