Bug 2508367 (CVE-2026-50642)
| Summary: | CVE-2026-50642 diff-so-fancy: diff-so-fancy: Terminal escape injection allows command execution | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> |
| Component: | vulnerability | Assignee: | Product Security <prodsec-ir-bot> |
| Status: | NEW --- | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | Keywords: | Security |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: |
A flaw was found in diff-so-fancy. The application does not properly sanitize non-SGR (Select Graphic Rendition) terminal control sequences, allowing other control characters and escape sequences to pass through. An attacker can embed malicious control sequences in filenames, diff metadata, or file content, which are then rendered directly in the terminal when a user views the diff. This can lead to output manipulation, including filename spoofing and terminal screen clearing, and may result in unintended command execution through clipboard hijacking, potentially misleading users during code review.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2508640, 2508641 | ||
| Bug Blocks: | |||
|
Description
OSIDB Bzimport
2026-07-29 11:01:21 UTC
|