# CVE-2022-24755: Incorrect Authorization in Bareos Director

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/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): 2.02%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-15T14:35:13.000Z
- Modified: 2026-06-17T04:32:26.787Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, 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 Bareos Director >= 18.2 >= 18.2 but prior to 21.1.0, 20.0.6, and 19.2.12 is built and configured for PAM authentication, it will skip authorization checks completely. Expired accounts and accounts with expired passwords can still login. This problem will affect users that have PAM enabled. Currently there is no authorization (e.g. check for expired or disabled accounts), but only plain authentication (i.e. check if username and password match). Bareos Director versions 21.1.0, 20.0.6 and 19.2.12 implement the authorization check that was previously missing. The only workaround is to make sure that authentication fails if the user is not authorized.

(As written by CVE List.)

## Affected

- bareos bareos: >= 18.2, < 19.2.12; >= 20.0.0, < 20.0.6; >= 21.0.0, < 21.1.0; from 18.2 before 19.2.12; from 20.0.0 before 20.0.6; from 21.0.0 before 21.1.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/> (exploit, patch, third-party-advisory)
- <https://github.com/bareos/bareos/security/advisories/GHSA-4979-8ffj-4q26> (third-party-advisory)
- <https://github.com/bareos/bareos/pull/1115> (patch, third-party-advisory)
- <https://github.com/bareos/bareos/pull/1119> (patch, third-party-advisory)
- <https://github.com/bareos/bareos/pull/1121> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-24755](https://www.cve.org/CVERecord?id=CVE-2022-24755), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2022-24755](https://nvd.nist.gov/vuln/detail/CVE-2022-24755), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24755 · Whole record: https://cve.day/CVE-2022-24755.json · Rebuilt by cve.day 2026-11-25T22:58:10.105Z
