org-babel-execute:latex in ob-latex.el in Org Mode through 9.6.1 for GNU Emacs allows…
Priority LOW 36CWE-78Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-78.
Summary
org-babel-execute:latex in ob-latex.el in Org Mode through 9.6.1 for GNU Emacs allows attackers to execute arbitrary commands via a file name or directory name that contains shell metacharacters.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00469 40th percentileScored 2026-11-07
Fix Fixed Red Hat: 7 advisories
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 7 advisories
- RHSA-2023:3189 Released 2023-05-17 · Red Hat rating Importantemacs security update
- Red Hat Enterprise Linux AppStream E4S (v. 8.1) emacs-1:26.1-5.el8_1.1, emacs-common-1:26.1-5.el8_1.1, emacs-lucid-1:26.1-5.el8_1.1 +2
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1) emacs-1:26.1-5.el8_1.1, emacs-filesystem-1:26.1-5.el8_1.1
- RHSA-2023:2074 Released 2023-05-02 · Red Hat rating Importantemacs security update
- Red Hat Enterprise Linux AppStream (v. 9) emacs-1:27.2-6.el9_1.1, emacs-common-1:27.2-6.el9_1.1, emacs-filesystem-1:27.2-6.el9_1.1 +2
- RHSA-2023:2010 Released 2023-04-25 · Red Hat rating Importantemacs security update
- Red Hat Enterprise Linux AppStream EUS (v.9.0) emacs-1:27.2-6.el9_0.1, emacs-common-1:27.2-6.el9_0.1, emacs-filesystem-1:27.2-6.el9_0.1 +2
Show 4 more Red Hat advisories
- RHSA-2023:1958 Released 2023-04-25 · Red Hat rating Importantemacs security update
- Red Hat Enterprise Linux AppStream EUS (v.8.4) emacs-1:26.1-5.el8_4.1, emacs-common-1:26.1-5.el8_4.1, emacs-lucid-1:26.1-5.el8_4.1 +2
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) emacs-1:26.1-5.el8_4.1, emacs-filesystem-1:26.1-5.el8_4.1
- RHSA-2023:1931 Released 2023-04-24 · Red Hat rating Importantemacs security update
- Red Hat Enterprise Linux AppStream EUS (v.8.6) emacs-1:26.1-7.el8_6.1, emacs-common-1:26.1-7.el8_6.1, emacs-lucid-1:26.1-7.el8_6.1 +2
- Red Hat Enterprise Linux BaseOS EUS (v.8.6) emacs-1:26.1-7.el8_6.1, emacs-filesystem-1:26.1-7.el8_6.1
- RHSA-2023:1930 Released 2023-04-24 · Red Hat rating Importantemacs security update
- Red Hat Enterprise Linux AppStream (v. 8) emacs-1:26.1-7.el8_7.1, emacs-common-1:26.1-7.el8_7.1, emacs-lucid-1:26.1-7.el8_7.1 +2
- Red Hat Enterprise Linux BaseOS (v. 8) emacs-1:26.1-7.el8_7.1, emacs-filesystem-1:26.1-7.el8_7.1
- RHSA-2023:1915 Released 2023-04-20 · Red Hat rating Importantemacs security update
- Red Hat Enterprise Linux AppStream AUS (v. 8.2) emacs-1:26.1-5.el8_2.1, emacs-common-1:26.1-5.el8_2.1, emacs-lucid-1:26.1-5.el8_2.1 +2
- Red Hat Enterprise Linux AppStream E4S (v. 8.2) emacs-1:26.1-5.el8_2.1, emacs-common-1:26.1-5.el8_2.1, emacs-lucid-1:26.1-5.el8_2.1 +2
- Red Hat Enterprise Linux AppStream TUS (v. 8.2) emacs-1:26.1-5.el8_2.1, emacs-common-1:26.1-5.el8_2.1, emacs-lucid-1:26.1-5.el8_2.1 +2
- Red Hat Enterprise Linux BaseOS AUS (v. 8.2) emacs-1:26.1-5.el8_2.1, emacs-filesystem-1:26.1-5.el8_2.1
- Red Hat Enterprise Linux BaseOS E4S (v. 8.2) emacs-1:26.1-5.el8_2.1, emacs-filesystem-1:26.1-5.el8_2.1
- Red Hat Enterprise Linux BaseOS TUS (v. 8.2) emacs-1:26.1-5.el8_2.1, emacs-filesystem-1:26.1-5.el8_2.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:1930 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:2074 |
| Red Hat Enterprise Linux AppStream AUS (v. 8.2) | Fixed | RHSA-2023:1915 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.1) | Fixed | RHSA-2023:3189 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.2) | Fixed | RHSA-2023:1915 |
| Red Hat Enterprise Linux AppStream EUS (v.8.4) | Fixed | RHSA-2023:1958 |
| Red Hat Enterprise Linux AppStream EUS (v.8.6) | Fixed | RHSA-2023:1931 |
| Red Hat Enterprise Linux AppStream EUS (v.9.0) | Fixed | RHSA-2023:2010 |
| Red Hat Enterprise Linux AppStream TUS (v. 8.2) | Fixed | RHSA-2023:1915 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2023:1930 |
| Red Hat Enterprise Linux BaseOS AUS (v. 8.2) | Fixed | RHSA-2023:1915 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.1) | Fixed | RHSA-2023:3189 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.2) | Fixed | RHSA-2023:1915 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.4) | Fixed | RHSA-2023:1958 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.6) | Fixed | RHSA-2023:1931 |
| Red Hat Enterprise Linux BaseOS TUS (v. 8.2) | Fixed | RHSA-2023:1915 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2023-28617
- 2026-10-03 Alias added: GHSA-xwfh-qqww-gr22
References
Patch 2
More GNU Org Mode vulnerabilities
- TI-2024-19948 In Emacs before 29.3, arbitrary Lisp code is evaluated as part of turning on Org mode. CVSS 3.1HIGH 7.8
- TI-2024-19951 In Emacs before 29.3, Org mode considers contents of remote files to be trusted. CVSS 3.1HIGH 7.1
- TI-2024-19949 In Emacs before 29.3, Gnus treats inline MIME contents as trusted. CVSS 3.1MEDIUM 5.5
- TI-2024-19950 In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments. CVSS 3.1LOW 2.8
Sources
- CVE-2023-28617 · CVE Program
- CVE-2023-28617 · NVD
- FIRST EPSS
- GHSA-xwfh-qqww-gr22 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-28617 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences