CVE-2023-34927Casbin Casdoor
Medium 6.5 No auth needed
Follow: this CVE · Casbin · Casbin Casdoor We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Jun 22, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-password. This vulnerability allows attackers to arbitrarily change the victim user's password via supplying a crafted URL.
What to do
- Apply the vendor's security update for Casdoor.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/casdoor/casdoor |
≤ 1.331.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-rwcp-qrwg-56cg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| casbin | casdoor | ≤ 1.331.0 |
Official sources
References
Links published by the sources. Open them with care.
- casdoor.org Product
- gist.github.com Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory