
CVE catalog
CVE-2022-46165
syncthing: CVE-2022-46165
- Severity
- Medium · CVSS 4.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.78% · Oct 25, 2026
Syncthing is an open source, continuous file synchronization program. In versions prior to 1.23.5 a compromised instance with shared folders could sync malicious files which contain arbitrary HTML and JavaScript in the name. If the owner of another device looks over the shared folder settings and moves the mouse over the latest sync, a script could be executed to change settings for shared folders or add devices automatically. Additionally adding a new device with a malicious name could embed HTML or JavaScript inside parts of the page. As a result the webUI may be subject to a stored cross site scripting attack. This issue has been addressed in version 1.23.5. Users are advised to upgrade. Users unable to upgrade should avoid sharing folders with untrusted users.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | syncthing | sid | 1.29.5~ds1-5 | fixed |
| Debian | syncthing | forky | 1.29.5~ds1-5 | fixed |
| Debian | syncthing | trixie | 1.29.5~ds1-2 | fixed |
| Debian | syncthing | bookworm | 1.19.2~ds1-1 | vulnerable |
| Suse | syncthing | package hub 15 sp5 | 1.23.5-bp155.2.3.1 | fixed |
| Opensuse | syncthing | leap 15.5 | 1.23.5-bp155.2.3.1 | fixed |
| Opensuse | syncthing | tumbleweed | 1.23.5-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | syncthing | source | sid | 1.27.2~ds4-1 | not yet assigned | Not reported | [1037432] |
| Debian | syncthing | source | forky | 1.27.2~ds4-1 | not yet assigned | Not reported | [1037432] |
| Debian | syncthing | source | trixie | 1.27.2~ds4-1 | not yet assigned | Not reported | [1037432] |
| Debian | syncthing | source | bookworm | (unfixed) | not yet assigned | Not reported | [1037432] |
| Suse | syncthing | rpm | package hub 15 sp5 | 1.23.5-bp155.2.3.1 | Not reported | OPENSUSE-SU-2023:0126-1 | Not reported |
| Opensuse | syncthing | rpm | leap 15.5 | 1.23.5-bp155.2.3.1 | Not reported | OPENSUSE-SU-2023:0126-1 | Not reported |
| Opensuse | syncthing | rpm | tumbleweed | 1.23.5-1.1 | Not reported | OPENSUSE-SU-2024:12984-1 | Not reported |
Notes
[bookworm] syncthing: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [golang-github-syncthing-syncthing-dev]Affected
Source package: [syncthing]
Details (2)
1.19.2~ds1-1· all · bookwormAffected
dsa · syncthing · debian · bookworm
1.19.2~ds1-1· all · bookwormAffected
dsa · syncthing · debian · bookworm
- [syncthing]Affected
Source package: [syncthing]
Details (2)
1.19.2~ds1-1+b4· amd64 · bookwormAffected
dsa · syncthing · debian · bookworm
1.19.2~ds1-1+b4· arm64 · bookwormAffected
dsa · syncthing · debian · bookworm
- [syncthing-discosrv]Affected
Source package: [syncthing]
Details (2)
1.19.2~ds1-1+b4· amd64 · bookwormAffected
dsa · syncthing · debian · bookworm
1.19.2~ds1-1+b4· arm64 · bookwormAffected
dsa · syncthing · debian · bookworm
- [syncthing-relaysrv]Affected
Source package: [syncthing]
Details (2)
1.19.2~ds1-1+b4· amd64 · bookwormAffected
dsa · syncthing · debian · bookworm
1.19.2~ds1-1+b4· arm64 · bookwormAffected
dsa · syncthing · debian · bookworm
[openSUSE Tumbleweed]
- [syncthing-relaysrv]Unknown
Source package: [syncthing]
Details (1)
2.1.3-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.23.5-1.1Version impact unknown
dsa · syncthing · opensuse · tumbleweed
- [syncthing]Fixed
Source package: [syncthing]
Details (1)
2.1.3-1.1· x86_64 · tumbleweedFixed · Fixed:
1.23.5-1.1dsa · syncthing · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2023_0126-1.json]
- [https://osv.dev/vulnerability/openSUSE-SU-2023:0126-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12984-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-46165]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]