# CVE-2020-4042: Authentication bypass in Bareos

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N`
- 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): 1.00%, higher than 63% of CVEs (2026-12-01)
- Published: 2020-07-10T19:30:14.000Z
- Modified: 2026-06-17T03:19:28.357Z
- Weaknesses: CWE-294
- Assigned by: GitHub_M

## Description

Bareos before version 19.2.8 and earlier allows a malicious client to communicate with the director without knowledge of the shared secret if the director allows client initiated connection and connects to the client itself. The malicious client can replay the Bareos director's cram-md5 challenge to the director itself leading to the director responding to the replayed challenge. The response obtained is then a valid reply to the directors original challenge. This is fixed in version 19.2.8.

(As written by CVE List.)

## Affected

- bareos bareos: < 19.2.8; up to 19.2.7; 19.2.8

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/bareos/bareos/security/advisories/GHSA-vqpj-2vhj-h752> (mitigation, third-party-advisory)
- <https://bugs.bareos.org/view.php?id=1250> (vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2020-4042 · Whole record: https://cve.day/CVE-2020-4042.json · Rebuilt by cve.day 2026-11-25T22:57:53.313Z
