Every CVESearch/Get API key

GHSA-q347-cg56-pcq4

SSRF in repository migration

5.0 MediumFix available

Impact

The malicious user is able to discover services in the internal network through repository migration functionality. All installations accepting public traffic are affected.

Patches

Internal network CIDRs are prohibited to be used as repository migration targets. Users should upgrade to 0.12.5 or the latest 0.13.0+dev.

Workarounds

Run Gogs in its own private network.

References

https://www.huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531/

For more information

If you have any questions or comments about this advisory, please post on #6754.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

What each source reports

GitHub Advisories Score used5.0

SSRF in repository migration

Impact

The malicious user is able to discover services in the internal network through repository migration functionality. All installations accepting public traffic are affected.

Patches

Internal network CIDRs are prohibited to be used as repository migration targets. Users should upgrade to 0.12.5 or the latest 0.13.0+dev.

Workarounds

Run Gogs in its own private network.

References

https://www.huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531/

For more information

If you have any questions or comments about this advisory, please post on #6754.

Record
GHSA-q347-cg56-pcq4
CVSS 3.0
5.0 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Weakness
CWE-918
Updated
2026-11-02
OSV5.0

SSRF in repository migration

Impact

The malicious user is able to discover services in the internal network through repository migration functionality. All installations accepting public traffic are affected.

Patches

Internal network CIDRs are prohibited to be used as repository migration targets. Users should upgrade to 0.12.5 or the latest 0.13.0+dev.

Workarounds

Run Gogs in its own private network.

References

https://www.huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531/

For more information

If you have any questions or comments about this advisory, please post on #6754.

Record
GHSA-q347-cg56-pcq4
CVSS 3.0
5.0 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Weakness
CWE-918
Updated
2026-11-02
OSVGO-2022-0377No score

SSRF in repository migration in gogs.io/gogs

SSRF in repository migration in gogs.io/gogs

Record
GO-2022-0377
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
gogs.io/gogs
Go
before 0.12.5
0.12.5

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-q347-cg56-pcq4 is a medium vulnerability (CVSS 5.0) in gogs.io/gogs, published March 14, 2022. No source lists public exploit code. Fixed in gogs.io/gogs 0.12.5.

References

MoveEnter Open