CVE-2018-18926: Code Injection

Published Nov 4, 2018
·
Updated

Gitea before 1.5.4 allows remote code execution because it does not properly validate session IDs. This is related to session ID handling in the go-macaron/session code for Macaron.

Affected Software

2 affected componentsFixes available
go/code.gitea.io/gitea<1.5.2
1.5.2
Gitea Gitea<1.5.4

Event History

Nov 4, 2018
CVE Published
05:29 AM
CVE Published
via MITRE·06:00 AM
Data Sourced
via MITRE·06:00 AM
Description
Feb 15, 2022
Advisory Published
01:57 AM

Frequently Asked Questions

1

What is CVE-2018-18926?

CVE-2018-18926 is a vulnerability in Gitea before version 1.5.4 that allows remote code execution due to improper validation of session IDs.

2

What is the severity of CVE-2018-18926?

The severity of CVE-2018-18926 is critical, with a CVSS score of 9.8.

3

How does CVE-2018-18926 impact Gitea?

CVE-2018-18926 allows attackers to remotely execute code in Gitea instances that are using versions prior to 1.5.4.

4

How can I fix CVE-2018-18926?

To fix CVE-2018-18926, you should update Gitea to version 1.5.4 or later, which includes the necessary fixes for proper validation of session IDs.

5

Where can I find more information about CVE-2018-18926?

You can find more information about CVE-2018-18926 in the NVD database and the GitHub issues and pull requests related to Gitea.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203