一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月13日

CVE-2026-90679 [MEDIUM] – Forgejo 13.0.0 through 16.0.4, when “[federation] ENABLED = true” is set, has a spoofing i

未分类
📑 文章目录

Forgejo 13.0.0 through 16.0.4, when “[federation] ENABLED = true” is set, has a spoofing issue that affects identity integrity but does not allow account takeover or content modification. It does not verify that the HTTP Signature on an incoming ActivityPubactivity was produced by the key belonging to the actor named in the activity body. The signature verification in routers/api/v1/activitypub/reqsignature.go validates the request signature, but the inbox activity handlers subsequently read the acting identity from the attacker-controlled JSON body without binding it to the verified signing key. Additionally, the signed Digest header is not recomputed against the received request body. A remote attacker who hosts a single valid ActivityPub actor and keypair can therefore submit signature-valid activities attributed to any actor identity they name.