# CVE-2024-45044: Bareos's negative command ACLs can be circumvented by abbreviating commands

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-09-10T14:57:57.464Z
- Modified: 2026-06-17T07:53:29.090Z
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Bareos is open source software for backup, archiving, and recovery of data for operating systems. When a command ACL is in place and a user executes a command in bconsole using an abbreviation (i.e. "w" for "whoami") the ACL check did not apply to the full form (i.e. "whoami") but to the abbreviated form (i.e. "w"). If the command ACL is configured with negative ACL that should forbid using the "whoami" command, you could still use "w" or "who" as a command successfully. Fixes for the problem are shipped in Bareos versions 23.0.4, 22.1.6 and 21.1.11. If only positive command ACLs are used without any negation, the problem does not occur.

(As written by CVE List.)

## Affected

- bareos bareos: >= 23.0.0, < 23.0.4; >= 22.0.0, < 22.1.6; < 21.1.11; from 23.0.0 before 23.0.4; from 22.0.0 before 22.1.6; before 21.1.11

## References

- <https://github.com/bareos/bareos/security/advisories/GHSA-jfww-q346-r2r8>
- <https://github.com/bareos/bareos/pull/1875>
- <https://github.com/bareos/bareos/commit/2a026698b87d13bd1c6275726b5e826702f81dd5>

## Sources

- CVE List: [CVE-2024-45044](https://www.cve.org/CVERecord?id=CVE-2024-45044), CVE Terms of Use, modified 2024-09-10
- NVD: [CVE-2024-45044](https://nvd.nist.gov/vuln/detail/CVE-2024-45044), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45044 · Whole record: https://cve.day/CVE-2024-45044.json · Rebuilt by cve.day 2026-11-25T22:58:45.242Z
