Collabora Online is a collaborative online office suite based on LibreOffice technology. In versions prior to 24.04.12.4, 23.05.19, and 22.05.25, there is a path traversal flaw in handling the CheckFileInfo BaseFileName field returned from WOPI servers. This allows for a file to be written anywhere the uid running Collabora Online can write, if such a response was supplied by a malicious WOPI server. By combining this flaw with a Time of Check, Time of Use DNS lookup issue with a WOPI server address under attacker control, it is possible to present such a response to be processed by a Collabora Online instance. This issue has been patched in versions 24.04.13.1, 23.05.19, and 22.05.25.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27791.json",
"cwe_ids": [
"CWE-23"
]
}[
{
"signature_type": "Function",
"source": "https://github.com/collaboraonline/online/commit/bb42bcbd2aacae39d9a4561aa4f340345868ab51",
"id": "CVE-2025-27791-852d0fc9",
"deprecated": false,
"target": {
"file": "wsd/Storage.cpp",
"function": "parseResponseAndValidate"
},
"signature_version": "v1",
"digest": {
"function_hash": "175259878639534867018336862584826404864",
"length": 396.0
}
},
{
"signature_type": "Line",
"source": "https://github.com/collaboraonline/online/commit/bb42bcbd2aacae39d9a4561aa4f340345868ab51",
"id": "CVE-2025-27791-8ae6c37d",
"deprecated": false,
"target": {
"file": "wsd/Storage.cpp"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"188623234153295289223321104998110144112",
"302046581113113523978326810618598971779",
"75804351401101686748502386337878951995",
"306353953243276463958726030460705562592"
]
}
}
]
[
{
"events": [
{
"introduced": "23.05.0"
},
{
"fixed": "23.05.19"
}
]
}
]