CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

www/gitea 28.2.0

Compact self-hosted Git service

Port info

Maintainer
ports@foss-daily.org
Packages
latest: 28.2.0
Upstream
up to date
Last update
to 28.2.0 · 20e15280c7
Quarterly
not in the 2026Q4 packages
WWW
https://gitea.com/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install gitea
installs 28.2.0 from latest
Port
# cd /usr/ports/www/gitea && make install clean
# make -C /usr/ports/www/gitea config  # change options first
Size
34 MiB download · 138 MiB installed
Depends on
devel/git 2.56.0, devel/git-lfs 3.6.1_24
License
MIT
Creates
user git, group git
Options
3 of 4 on in the package: GIT_LFS PAM SQLITE
Show the 1 options that are off
BINDATA
pkg-message
Shown after upgrading
Please make sure to empty or maintain the contents of the
/usr/local/share/gitea folder between your upgrades of gitea.
Changes between versions can break the web UI due to residual
files from earlier versions.

1.21.0 has a breaking change regarding the public assets folder. In case
you use a proxying webserver serving the files, you need to update your
configuration:

https://github.com/go-gitea/gitea/pull/25907
Shown after upgrading
When upgrading from Gitea 1.7 or earlier, Gitea requires the addition of
another secret to the config file in order to start up.  Either manually add
JWT_SECRET to the /usr/local/etc/gitea/conf/app.ini config file (see
app.ini.sample), or allow Gitea to make the change for you by making the
config file writable to the git user.
Shown after upgrading
Some config file options have been changed in Gitea 1.15. Please refer to
the documentation at https://docs.gitea.io/en-us/customizing-gitea/ and
the release notes.
Shown after upgrading
We remind users that a bug was discovered with gitea dump in 1.14.3-1.14.6
and 1.15.0.  Database dumps from these versions cause broken fields in the
repo_unit and login_source tables causing the issue identified in #16961.
Users on 1.14.x must upgrade to 1.14.7 before running gitea dump.  See the
release notes for more information.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 1628.2.0✗–
FreeBSD 1528.2.01.27.3_1–
FreeBSD 1428.2.01.27.3_128.2.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 15✗1.27.3_1–
FreeBSD 14✗1.27.3_1✗

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 28.2.0.

Fixed (63)

Show 63 fixed
VuXML entries whose affected range the packaged version has left.

CVE-2026-23603, CVE-2026-42931, CVE-2026-50105, CVE-2026-54481, CVE-2026-55982, CVE-2026-55984, CVE-2026-55986, CVE-2026-55987, CVE-2026-56443, CVE-2026-56654, CVE-2026-56657, CVE-2026-56750, CVE-2026-56755, CVE-2026-57886, CVE-2026-57894, CVE-2026-57897, CVE-2026-58314, CVE-2026-58416, CVE-2026-58417, CVE-2026-58420, CVE-2026-58425, CVE-2026-58427, CVE-2026-58428, CVE-2026-58429, CVE-2026-58431, CVE-2026-58432, CVE-2026-58433, CVE-2026-58434, CVE-2026-58435, CVE-2026-58436, CVE-2026-58437, CVE-2026-58438, CVE-2026-58439, CVE-2026-58440, CVE-2026-58441, CVE-2026-58442, CVE-2026-58443, CVE-2026-58444, CVE-2026-58445, CVE-2026-58507, CVE-2026-58508, CVE-2026-58510, CVE-2026-58511, CVE-2026-59763, CVE-2026-59765

Problem reports (3) · open in Bugzilla, most recently changed first

PRSummaryStatusChanged
297640maintainer-feedback? www/gitea 1.27.2 complains bash not found on startupNew2026-08-20
294089maintainer-feedback? www/gitea: service gitea restart fails, leaves gitea stoppedNew2026-08-18
296739maintainer-feedback? www/gitea: startup on boot failsNew2026-07-14

Commits (210)

Gabriel M. Dutra (dutra) · 1.21.10
www/gitea: Update to 1.21.10

changeLog:
https://blog.gitea.com/release-of-1.21.8-and-1.21.9-and-1.21.10

PR:		278120
Approved by:	submitter is maintainer
e66a82d4c1
Ashish SHUKLA (ashish) · 1.21.6_1
all: Bump after lang/go121 update

MFH:		2024Q1
ab359b34c9
Nuno Teixeira (eduardo) · 1.21.6
www/gitea: Update to 1.21.6 (fixes security vulnerabilities)

ChangeLog:	https://github.com/go-gitea/gitea/releases/tag/v1.21.6
		https://blog.gitea.com/release-of-1.21.6/
PR:		277275
MFH:		2024Q1
Security:	5ecfb588-d2f4-11ee-ad82-dbdfaa8acfc2
0806b5e2f7
Fernando Apesteguía (fernape) · 1.21.5
www/gitea: update to 1.21.5 (fixes security vulnerabilities)

ChangeLog: https://github.com/go-gitea/gitea/releases/tag/v1.21.5

SECURITY
 * Prevent anonymous container access if RequireSignInView is enabled
 * Update go dependencies and fix go-git

BUGFIXES
 * Revert "Speed up loading the dashboard on mysql/mariadb
 * Fix an actions schedule bug
 * Fix update enable_prune even if mirror_interval is not provided
 * Fix uploaded artifacts should be overwritten
 * Preserve BOM in web editor
 * Strip / from relative links
 * Don't remove all mirror repository's releases when mirroring
 * Implement MigrateRepository for the actions notifier
 * Respect branch info for relative links
 * Don't reload timeline page when (un)resolving or replying conversation
 * Only migrate the first 255 chars of a Github issue title
 * Fix sort bug on repository issues list
 * Fix DeleteCollaboration transaction behaviour
 * Fix schedule not trigger bug because matching full ref name with short ref
   name
 * Fix migrate storage bug
 * Fix archive creating LFS hooks and breaking pull requests
 * Fix reverting a merge commit failing
 * Upgrade xorm to v1.3.7 to fix a resource leak problem caused by Iterate
 * Fix incorrect PostgreSQL connection string for Unix sockets

ENHANCEMENTS
 * Make loading animation less aggressive
 * Avoid duplicate JS error messages on UI
 * Bump @github/relative-time-element to 4.3.1

MISC
 * Warn that DISABLE_QUERY_AUTH_TOKEN is false only if it's explicitly defined
 * Remove duplicated checkinit on git module

PR:		277066
Reported by:	freebsd@otoh.org
MFH:		2024Q1 (security fixes, bug fixes)
a68308673e
Ashish SHUKLA (ashish) · 1.21.3_1
all: Bump PORTREVISION after lang/go* update

PR:		276530
7e5aa2085f
Muhammad Moinur Rahman (bofh) · 1.21.3
www/gitea: Update version 1.21.0=>1.21.3

- Add relevant vuxml entry
- Move pkg-message to SUB_FILES as we are using PREFIX

Changelog: https://blog.gitea.com/release-of-1.21.3/

PR:		275742
Approved by:	submitter is maintainer
478a7fab1a
Ashish SHUKLA (ashish) · 1.21.0_1
all: Bump PORTREVISION after lang/go* update

PR:		274405
0505b712df
Robert Clausecker (fuz) · 1.21.0
www/gitea: update to 1.21.0

Changelog: https://blog.gitea.com/release-of-1.21.0/

PR:		275096
c31527fa4e
Robert Clausecker (fuz) · 1.20.5
www/gitea: update to 1.20.5

Changelog: https://blog.gitea.com/release-of-1.20.5/

PR:		274264
MFH:		2023Q4
fb4ac8b9ae
Nuno Teixeira (eduardo) · 1.20.4
www/gitea: Update to 1.20.4 (fixes security vulnerabilities)

This release contains one security fix, as well as a number of enhancements
and bug fixes. See the release notes for details.

Release notes:
* https://blog.gitea.com/release-of-1.20.4
* https://github.com/go-gitea/gitea/releases/tag/v1.20.4

PR:		273691
MFH:		2023Q3
Security:	4061a4b2-4fb1-11ee-acc7-0151f07bc899
753a0072ec
Dmitri Goutnik (dmgk) · 1.20.3_1
all: Bump PORTREVISION after lang/go* update
8e4bc57934
Li-Wen Hsu (lwhsu) · 1.20.3
www/gitea: Update to 1.20.3

PR:		273379
Security:	36a37c92-44b1-11ee-b091-6162c1274384
14812e1ef4
Dmitri Goutnik (dmgk) · 1.20.2_1
all: Bump PORTREVISION after lang/go{119,120} update
09b993031a
Robert Clausecker (fuz) · 1.20.2
www/gitea: Update to 1.20.2

Changelog: https://blog.gitea.com/release-of-1.20.2
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.20.2

PR:		272796
b4ac7b68c1
Nuno Teixeira (eduardo) · 1.20.1
www/gitea: Update to 1.20.1 (fixes security vulnerabilities)

This release contains one security fix, and a number of enhancements and
bug fixes. See the release notes for details.

Release notes:
* https://blog.gitea.com/release-of-1.20.1
* https://github.com/go-gitea/gitea/releases/tag/v1.20.1

PR:		272672
MFH:		2023Q3
Security:	ab0bab3c-2927-11ee-8608-07b8d3947721
1fb3b760fc
Fernando Apesteguía (fernape) · 1.20.0
www/gitea: Update to 1.20.0 (fixes security vulnerabilities)

ChangeLog: https://blog.gitea.com/release-of-1.20.0

PR:		272538
Reported by:	stb@lassitu.de (maintainer)
MFH:		2023Q3 (security fixes)
26433938a8
Fernando Apesteguía (fernape) · 1.19.4
www/gitea: Update to 1.19.4 (fixes security vulnerabilities)

ChangeLog: https://github.com/go-gitea/gitea/releases/tag/v1.19.4

SECURITY
 * Fix open redirect check for more cases
API
 * Return 404 in the API if the requested webhooks were not found
 * Fix organization field being null in GET /api/v1/teams/{id}
ENHANCEMENTS
 * Set --font-weight-bold to 600
 * Make mailer SMTP check have timed context
 * Do not select line numbers when selecting text from the action run logs
BUGFIXES
 * Fix bug when change user name
 * Fix task list checkbox toggle to work with YAML front matter
 * Hide limited users if viewed by anonymous ghost
 * Add WithPullRequest for actionsNotifier
 * Fix parallelly generating index failure with Mysql
 * GitLab migration: Sanitize response for reaction list
 * Fix users cannot visit issue attachment bug
 * Fix missing reference prefix of commits when sync mirror repository
 * Only validate changed columns when update user
 * Make DeleteIssue use correct context
 * Fix topics deleted via API not being deleted in org page
 * Fix Actions being enabled accidentally
 * Fix missed table name on iterate lfs meta objects
 * Fix safari cookie session bug
 * Respect original content when creating secrets
 * Fix Pull Mirror out-of-sync bugs
 * Fix run list broken when trigger user deleted
 * Fix issues list page multiple selection update milestones
 * Fix: release page for empty or non-existing target
 * Fix close org projects
 * Refresh the refernce of the closed PR when reopening
 * Fix the permission of team's Actions unit issue
 * Bump go.etcd.io/bbolt and blevesearch deps
 * Fix new wiki page mirror
 * Match unqualified references when syncing pulls as well
DOCS
 * Change branch name from master to main in some documents' links
 * Remove unnecessary content on docs
 * Unify doc links to use paths relative to doc folder
 * Fix docs documenting invalid @every for OLDER_THAN cron settings
MISC
 * Merge different languages for language stats
 * Hiding Secrets options when Actions feature is disabled
 * Improve decryption failure message
 * Makefile: Use portable !, not GNUish -not, with find(1).

PR:		272380
Reported by:	stb@lassitu.de
MFH:		2023Q3 (security fix)
0609a03e4b
Cy Schubert (cy) · 1.19.3
www/gitea: Update to 1.19.3

Fixes CVE-2023-24539, CVE-2023-24540, and CVE-2023-29400.

ChangeLog: https://blog.gitea.io/2023/05/gitea-1.19.3-is-released/

PR:             271739
Approved by:	Stefan Bethke <stb@lassitu.de> (maintainer)
MFH:		2023Q2
3ae388d9fb
Alexey Dokuchaev (danfe) · 1.19.2
Fix some more needless usages of UTF-8 where ASCII is sufficient

While here, drop the quotes around <beat 'em up> added in commit
fa4ecd821fadb6 as I have been convinced they are not needed here.
0cff8bfa68
Li-Wen Hsu (lwhsu) · 1.19.2
www/gitea: Update to 1.19.2

ChangeLog: https://blog.gitea.io/2023/04/gitea-1.19.2-is-released/

PR:		271135
Approved by:	Stefan Bethke <stb@lassitu.de> (maintainer)
6e25cf16cc
Fernando Apesteguía (fernape) · 1.19.1
www/gitea: update to 1.19.1

ChangeLog: https://blog.gitea.io/2023/04/gitea-1.19.1-is-released/

Add UPDATING entry for breaking change.

PR:		270819
Reported by:	stb@lassitu.de (maintainer)
MFH:		2023Q2 (many bugfixes)
02c406b096
Dmitri Goutnik (dmgk) · 1.19.0_1
all: Bump PORTREVISION after lang/go{119,120} update
ff40d94c1d
Li-Wen Hsu (lwhsu) · 1.19.0
www/gitea: Update to 1.19.0

Release notes: https://blog.gitea.io/2023/03/gitea-1.19.0-is-released/

PR:		270377
7fcd18c807
Dmitri Goutnik (dmgk) · 1.18.5_1
all: Bump PORTREVISION after Go ports update
09079730e9
Florian Smeets (flo) · 1.18.5
www/gitea: update to 1.18.5

PR:		269806
c039b2b9a8
Florian Smeets (flo) · 1.18.4
www/gitea: Update to 1.18.4

PR:		269707
Security:	5048ed45-b0f1-11ed-ab04-9106b1b896dd
6f6ba3c6c5
Dmitri Goutnik (dmgk) · 1.18.3_2
all: Bump PORTREVISION after lang/go{119,120} update
56b5ec772f
Dmitri Goutnik (dmgk) · 1.18.3_1
all: Bump PORTREVISION after GO_DEFAULT update.
2297efc51b
Florian Smeets (flo) · 1.18.3
www/gitea: Update to 1.18.3

PR:		269131
MFH:		2023Q1
Security:	b8a0fea2-9be9-11ed-8acf-0800277bb8a8
8bcd25bfca
Florian Smeets (flo) · 1.18.2
www/gitea: Update to 1.18.2

This release fixes a large number of bugs.

Relnotes: https://blog.gitea.io/2023/01/gitea-1.18.1-is-released/
Relnotes: https://blog.gitea.io/2023/01/gitea-1.18.2-is-released/
1ed7f6bd95
Dmitri Goutnik (dmgk) · 1.18.0_1
all: Bump PORTVERSION after lang/go{118,119} update
3b383d833a
Li-Wen Hsu (lwhsu) · 1.18.0
www/gitea: Update to 1.18.0

Release notes: https://blog.gitea.io/2022/12/gitea-1.18.0-is-released/

PR:		268667
Security:	86c330fe-bbae-4ca7-85f7-5321e627a4eb
7d63c693ae
Nuno Teixeira (eduardo) · 1.17.4
www/gitea: Update to 1.17.4 (fixes security vulnerabilities)

This release fixes two security issues, a large number of bugs and
 contains some enhancements.

ChangeLog:	https://github.com/go-gitea/gitea/releases/tag/v1.17.4
PR:		268512
MFH:		2022Q4
Security:	d0da046a-81e6-11ed-96ca-0800277bb8a8
7763b1c4ca
Dmitri Goutnik (dmgk) · 1.17.3_1
all: Bump PORTREVISION after lang/go{118,119} update
d9ad1002d5
Nuno Teixeira (eduardo) · 1.17.3
www/gitea: Update to 1.17.3 (fixes security vulnerabilities)

- This release fixes three security issues, a large number of bugs and
   contains some enhancements.
 - Pet portlint

ChangeLog:	https://github.com/go-gitea/gitea/releases/tag/v1.17.3
PR:		267106
MFH:		2022Q4
242f679b4b
Dmitri Goutnik (dmgk) · 1.17.2_1
all: Bump PORTREVISION after lang/go{118,119} update
bde51869ee
Dmitri Goutnik (dmgk) · 1.17.2
www/gitea: Update to 1.17.2

Changes:	https://blog.gitea.io/2022/09/gitea-1.17.2-is-released/

PR:		266359
Security:	f75722ce-31b0-11ed-8b56-0800277bb8a8
38aadfb1cc
Dmitri Goutnik (dmgk) · 1.17.1_1
all: Bump PORTREVISION after lang/go{118,119} update
f05c98fffb
Stefan Eßer (se) · 1.17.1
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 1.17.1
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Cy Schubert (cy) · 1.17.1
www/gitea: Update to 1.17.1

* SECURITY
  * Correctly escape within tribute.js (#20831) (#20832)

PR:		266122
Approved by:	MAINTAINER: Stefan Bethke <stb@lassitu.de>
MFH:		2022Q3
5fd2b15e59
Nuno Teixeira (eduardo) · 1.17.0
www/gitea: Update to 1.17.0

- add dl.gitea.io to MASTER_SITES

This release fixes ten bugs and contains two enhancements.

ChangeLog:	https://github.com/go-gitea/gitea/releases/tag/v1.17.0
PR:		265527
8903fd2b78
Nuno Teixeira (eduardo) · 1.16.9
www/gitea: Update to 1.16.9 (fixes security vulnerabilities)

This release fixes two security issues and 18 bugs

ChangeLog:	https://github.com/go-gitea/gitea/releases/tag/v1.16.9
PR:		265526
2bd42152ca
Dmitri Goutnik (dmgk) · 1.16.8_3
all: Bump PORTREVISION after Go update

Bump Go ports PORTREVISION after GO_DEFAULT and lang/go118 update.
4476f89764
Dmitri Goutnik (dmgk) · 1.16.8_2
all: Bump PORTREVISION after lang/go{117,118} update
153cb65ac8
Dmitri Goutnik (dmgk) · 1.16.8_1
*/*: Bump port revisons after lang/go{117,118} update
309cdeccd8
Nuno Teixeira (eduardo) · 1.16.8
www/gitea: Update to 1.16.8

ChangeLog: https://github.com/go-gitea/gitea/releases/tag/v1.16.8

PR:		264116
38b8f08653
Dmitri Goutnik (dmgk) · 1.16.7
www/gitea: Update to 1.16.7

Changes:	https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/

PR:		263684
Security:	95ee401d-cc6a-11ec-9cfc-10c37b4ac2ea
beab28bbe6
Guangyuan Yang (ygy) · 1.16.5_1
*/*: Bump PORTREVISION after lang/go 1.18 update
d690b5102f
Florian Smeets (flo) · 1.16.5
www/gitea: Update to 1.16.5

- Fixes for runtime issues with go1.18
- Fixes for security issues

Changes: https://github.com/go-gitea/gitea/releases/tag/v1.16.5

PR:		262898, 261576
Reported by:	dvl, CTS - FreeBSD Team <de-freebsd@ctseuro.com>
Approved by:	maintainer
Security:	83466f76-aefe-11ec-b4b6-d05099c0c059
b788272c6c